http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88548

Revision: 88548
Author:   krinkle
Date:     2011-05-21 21:05:55 +0000 (Sat, 21 May 2011)
Log Message:
-----------
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

Modified Paths:
--------------
    trunk/phase3/skins/common/shared.css
    trunk/phase3/skins/monobook/rtl.css
    trunk/phase3/skins/vector/screen.css

Modified: trunk/phase3/skins/common/shared.css
===================================================================
--- trunk/phase3/skins/common/shared.css        2011-05-21 20:39:31 UTC (rev 
88547)
+++ trunk/phase3/skins/common/shared.css        2011-05-21 21:05:55 UTC (rev 
88548)
@@ -164,7 +164,7 @@
 p.mw-filedelete-editreasons, p.mw-delete-editreasons,
 p.mw-revdel-editreasons {
        font-size: 90%;
-       float: right;
+       text-align: right;
 }
 
 /*

Modified: trunk/phase3/skins/monobook/rtl.css
===================================================================
--- trunk/phase3/skins/monobook/rtl.css 2011-05-21 20:39:31 UTC (rev 88547)
+++ trunk/phase3/skins/monobook/rtl.css 2011-05-21 21:05:55 UTC (rev 88548)
@@ -216,7 +216,7 @@
 /* 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 {

Modified: trunk/phase3/skins/vector/screen.css
===================================================================
--- trunk/phase3/skins/vector/screen.css        2011-05-21 20:39:31 UTC (rev 
88547)
+++ trunk/phase3/skins/vector/screen.css        2011-05-21 21:05:55 UTC (rev 
88548)
@@ -1216,12 +1216,6 @@
        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;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to