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

login
register
mail settings
Submitter Anton Shestakov
Date Nov. 25, 2017, 8:50 a.m.
Message ID <b49cc79b7aab3a0ecae1.1511599838@neuro>
Download mbox | patch
Permalink /patch/25748/
State Accepted
Headers show

Comments

Anton Shestakov - Nov. 25, 2017, 8:50 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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.
Yuya Nishihara - Nov. 26, 2017, 10:44 a.m.
On Sat, 25 Nov 2017 16:50:38 +0800, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@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

Queued the series, thanks.

Patch

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; }