[PATCH 1 of 4] paper: remove css hack that made .branchname look like .branchhead

Anton Shestakov av6 at dwimlabs.net
Sat Nov 25 03:50:38 EST 2017


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1511593307 -28800
#      Sat Nov 25 15:01:47 2017 +0800
# Node ID b49cc79b7aab3a0ecae1eb8ce9cef87b17b296de
# Parent  e17143d2181bb77ef8346b7dfe32b894bbf9a064
# EXP-Topic hgweb-cleanup
paper: remove css hack that made .branchname look like .branchhead

There's a visual difference in hgweb between one changeset that is the tip of
its branch and another that simply belongs to that branch. But paper theme
ignored this difference on changeset page and used to always use "branchname"
css class, be that changeset the tip of its branch or not. That has been
recently fixed, so this piece of css is not needed anymore.

diff --git a/mercurial/templates/static/style-paper.css b/mercurial/templates/static/style-paper.css
--- a/mercurial/templates/static/style-paper.css
+++ b/mercurial/templates/static/style-paper.css
@@ -192,10 +192,6 @@ ul#graphnodes .branchhead {
   vertical-align: baseline;
 }
 
-h3 .branchname {
-  font-size: 80%;
-}
-
 /* Common */
 pre { margin: 0; }
 


More information about the Mercurial-devel mailing list