This improves on the CSS hack used in r69317 - which worked fine but in some crazy...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 20 Jul 2010 23:47:54 +0000 (23:47 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 20 Jul 2010 23:47:54 +0000 (23:47 +0000)
includes/DefaultSettings.php
skins/vector/main-ltr.css
skins/vector/main-rtl.css

index ddab411..893251d 100644 (file)
@@ -1547,7 +1547,7 @@ $wgCacheEpoch = '20030516000000';
  * to ensure that client-side caches do not keep obsolete copies of global
  * styles.
  */
-$wgStyleVersion = '298';
+$wgStyleVersion = '299';
 
 /**
  * This will cache static pages for non-logged-in users to reduce
index 180dc9a..e334464 100644 (file)
@@ -1111,8 +1111,10 @@ div#bodyContent {
        outline: none;
        display: block;
        width: 26px;
-       height: 3.1em;
-       text-indent: -9999px;
+       /* This hides the text but shows the background image */
+       padding-top: 3.1em;
+       height: 0;
+       overflow: hidden;
 }
 #ca-unwatch.icon a {
        background-image: url(images/watch-icons.png?1);
index 22f2ea7..f1de16e 100644 (file)
@@ -1111,8 +1111,10 @@ div#bodyContent {
        outline: none;
        display: block;
        width: 26px;
-       height: 3.1em;
-       text-indent: -9999px;
+       /* This hides the text but shows the background image */
+       padding-top: 3.1em;
+       height: 0;
+       overflow: hidden;
 }
 #ca-unwatch.icon a {
        background-image: url(images/watch-icons.png?1);