Mercurial > hg
changeset 20577:de48422df393 stable
coal: hgweb style adds extra blank line in file view (issue4136)
Now hgweb style='coal' adds no extra blank in file view.
author | anuraggoel <anurag.dsps@gmail.com> |
---|---|
date | Thu, 27 Feb 2014 22:56:42 +0530 |
parents | 7f865a94691e |
children | e0e223b0a506 4c4cd64c754b |
files | mercurial/templates/static/style-coal.css |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }