From: Krinkle Date: Sat, 21 May 2011 21:05:55 +0000 (+0000) Subject: Changing float to text-align for conveniencelinks and editreasons links. Since headin... X-Git-Tag: 1.31.0-rc.0~30022 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=ed9332c02188b7f09d323898b0337c133b6dbb47;p=lhc%2Fweb%2Fwiklou.git Changing float to text-align for conveniencelinks and editreasons links. Since headings have overflow:hidden this is causing the border to stop when this block is touched (atleast in Chrome/Safari), since headings don't clear float. This doesn't have to be a float from what I can see and is better done as text-align so that any later elements on the page will not be affected by the page flow. Remove the line from Vector's main.css since it was already in shared.css --- diff --git a/skins/common/shared.css b/skins/common/shared.css index 8a94d3cb71..86ee82043a 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -164,7 +164,7 @@ p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, p.mw-filedelete-editreasons, p.mw-delete-editreasons, p.mw-revdel-editreasons { font-size: 90%; - float: right; + text-align: right; } /* diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index faae80002d..60d4b75e50 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -216,7 +216,7 @@ input#wpSave, input#wpDiff { /* Convenience links to edit block, delete and protect reasons */ p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, p.mw-filedelete-editreasons, p.mw-delete-editreasons { - float: left; + text-align: left; } .toggle { diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 5174985389..c910a701c3 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1216,12 +1216,6 @@ div.vectorTabs ul { background-repeat:no-repeat; } -/* Convenience links to edit block, delete and protect reasons */ -p.mw-ipb-conveniencelinks, p.mw-protect-editreasons, -p.mw-filedelete-editreasons, p.mw-delete-editreasons { - float: right; -} - /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ .tipsy { font-size: 0.8em;