coal: hgweb style adds extra blank line in file view (issue4136) stable
authoranuraggoel <anurag.dsps@gmail.com>
Thu, 27 Feb 2014 22:56:42 +0530
branchstable
changeset 20577 de48422df393
parent 20576 7f865a94691e
child 20578 e0e223b0a506
child 20588 4c4cd64c754b
coal: hgweb style adds extra blank line in file view (issue4136) Now hgweb style='coal' adds no extra blank in file view.
mercurial/templates/static/style-coal.css
--- a/mercurial/templates/static/style-coal.css	Tue Feb 25 21:26:25 2014 +0100
+++ 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; }