TOC: Fix problems on RTL wikis
authorFomafix <fomafix@googlemail.com>
Sat, 7 Nov 2015 12:19:16 +0000 (12:19 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Sat, 7 Nov 2015 12:19:16 +0000 (12:19 +0000)
This is a follow-up to c7894deb.

Bug: T118029
Change-Id: I0cd614063daff20e226a2ba1f819cebd71a2244b

resources/src/mediawiki.skinning/content.css

index a5dd692..d7daabc 100644 (file)
@@ -98,7 +98,8 @@ table.toc td {
 /* Ignored by IE7 and lower */
 .tocnumber:after {
        content: "";
-       padding-right: 0.5em;
+       display: inline-block;
+       width: 0.5em;
 }
 
 /* Warning */