[PATCH] coal: hgweb style adds extra blank line in file view (issue4136)

Anurag Goel anurag.dsps at gmail.com
Thu Feb 27 12:01:39 CST 2014


# HG changeset patch
# User anuraggoel <anurag.dsps at gmail.com>
# Date 1393522002 -19800
#      Thu Feb 27 22:56:42 2014 +0530
# Node ID 18e1e3bebef8d5387e514d05df8eb3ccaa5ae5b2
# Parent  a9565edbbdf1fdda28b218e478d7c714f46c4e97
coal: hgweb style adds extra blank line in file view (issue4136)

Now hgweb style='coal' adds no extra blank in file view.

diff -r a9565edbbdf1 -r 18e1e3bebef8 mercurial/templates/static/style-coal.css
--- a/mercurial/templates/static/style-coal.css	Thu Feb 27 22:47:16 2014 +0530
+++ b/mercurial/templates/static/style-coal.css	Thu Feb 27 22:56:42 2014 +0530
@@ -214,6 +214,13 @@
 .source a { color: #999; font-size: smaller; font-family: monospace;}
 .bottomline { border-bottom: 1px solid #999; }
 
+.sourcelines > div {
+  display: inline-block;
+  width: 100%;
+  padding: 1px 0px;
+  counter-increment: lineno;
+}
+
 .fileline { font-family: monospace; }
 .fileline img { border: 0; }
 


More information about the Mercurial-devel mailing list