# HG changeset patch # User anuraggoel # Date 1393522002 -19800 # Node ID de48422df393bbf80dcd5d4f9571e48663452d86 # Parent 7f865a94691e122aa7231824f3ed303a4498409d coal: hgweb style adds extra blank line in file view (issue4136) Now hgweb style='coal' adds no extra blank in file view. diff -r 7f865a94691e -r de48422df393 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; }