From ed9332c02188b7f09d323898b0337c133b6dbb47 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sat, 21 May 2011 21:05:55 +0000 Subject: [PATCH] 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 --- skins/common/shared.css | 2 +- skins/monobook/rtl.css | 2 +- skins/vector/screen.css | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) 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; -- 2.20.1