Bidi-isolate numbers of added/removed bytes in changes lists
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sat, 21 Mar 2015 20:46:21 +0000 (22:46 +0200)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sat, 21 Mar 2015 20:46:21 +0000 (22:46 +0200)
Bug: T93484
Change-Id: I26d3c46a843b2a2114ca50ec0a366fa6b76904a9

resources/src/mediawiki.legacy/shared.css

index 467714e..56e4625 100644 (file)
@@ -91,6 +91,18 @@ abbr[title],
        color: #aaa; /* gray */
 }
 
+/*
+ * Bidi-isolate these numbers.
+ * See https://phabricator.wikimedia.org/T93484
+ */
+.mw-plusminus-pos,
+.mw-plusminus-neg,
+.mw-plusminus-null {
+       unicode-bidi: -moz-isolate;
+       unicode-bidi: -webkit-isolate;
+       unicode-bidi: isolate;
+}
+
 /**
  * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]],
  * [[Special:Watchlist/edit]] and in category listings.