Bidi-isolate the comment in history pages
authorAmire80 <amir.aharoni@mail.huji.ac.il>
Sun, 24 Apr 2016 18:20:22 +0000 (21:20 +0300)
committerAmire80 <amir.aharoni@mail.huji.ac.il>
Sun, 24 Apr 2016 18:20:22 +0000 (21:20 +0300)
The comment and the page name are separate pieces of text,
but they can get jumbled in an RTL wiki if the comment has RTL text.

Change-Id: Id49c53ca6a5ec5a7a0b87c297f47e1fbe822d1fc

resources/src/mediawiki.legacy/shared.css

index daebac1..4c618d4 100644 (file)
@@ -119,6 +119,9 @@ abbr[title],
 /* Comment portions of RC entries */
 span.comment {
        font-style: italic;
+       unicode-bidi: -moz-isolate;
+       unicode-bidi: -webkit-isolate;
+       unicode-bidi: isolate;
 }
 
 /**