Mercurial > hg
changeset 25747:5a15236f142a
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 06 Jul 2015 01:38:37 +0800 |
parents | 0c3c0f123a1a |
children | baea47cafe75 |
files | mercurial/templates/static/style-monoblue.css |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff