[mediawiki.debug] display: inline-block; work-around for in IE7
authorKrinkle <krinkle@users.mediawiki.org>
Wed, 4 Jan 2012 01:29:39 +0000 (01:29 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Wed, 4 Jan 2012 01:29:39 +0000 (01:29 +0000)
* display: inline-block; is not supported by IE7
* Using standard work-around with triggering hasLayout (via zoom: 1;) on an inline element (only for IE7 through *hack)

resources/mediawiki/mediawiki.debug.css

index 2cc886b..cff2e6e 100644 (file)
@@ -61,6 +61,9 @@
        display: inline-block;
        padding: 10px 5px;
        font-size: 13px;
+       /* IE-hack for display: inline-block */
+       zoom: 1;
+       *display:inline;
 }
 
 .mw-debug-panelink {
@@ -176,4 +179,4 @@ a.mw-debug-panelabel:visited {
 /* Cheapo hack to hide the first 3 lines of the backtrace */
 .mw-debug-backtrace li:nth-child(-n+3) {
        display: none;
-}
\ No newline at end of file
+}