# HG changeset patch # User Anton Shestakov # Date 1436117917 -28800 # Node ID 5a15236f142ab56d1613a0c3d275108cea007860 # Parent 0c3c0f123a1a9c47ac75bd2cd8c6a92222a2ebe7 monoblue: use padding instead of position for text in footer Some installations alter monoblue style and remove margins from body element (these margins have that dark gray background) to adapt hgweb instance to an already existing site design. However, the margins hid a quirk in page footer: a block of text needlessly popped out of the footer, and when margins were gone, the whole page got a vertical scroll bar because of that. Live example: https://hg.prosody.im/prosody-modules/ To remove the potential scroll bar, this block of text now uses left padding, which doesn't make it overflow the footer, but makes it achieve the otherwise same result visually. diff -r 0c3c0f123a1a -r 5a15236f142a mercurial/templates/static/style-monoblue.css --- a/mercurial/templates/static/style-monoblue.css Mon Jul 06 01:22:23 2015 +0800 +++ b/mercurial/templates/static/style-monoblue.css Mon Jul 06 01:38:37 2015 +0800 @@ -153,7 +153,7 @@ } div.page-footer p { position: relative; - left: 20px; + padding-left: 20px; bottom: 5px; font-size: 1.2em; }