Prevent the jumbling up of autocomments in RTL
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Tue, 18 Aug 2015 09:41:03 +0000 (12:41 +0300)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Tue, 18 Aug 2015 15:39:18 +0000 (18:39 +0300)
Change-Id: I75f66dcd839ead0759f4c6e90ab0ddbc905a07d9

resources/src/mediawiki.legacy/shared.css

index 14fd286..7e171cf 100644 (file)
@@ -417,6 +417,11 @@ p.mw-upload-editlicenses {
 /* The auto-generated edit comments */
 .autocomment {
        color: gray;
+       /* In RTL wikis, Latin heading sections can get jumbled with comments that
+          begin with Latin letters or numbers */
+       unicode-bidi: -moz-isolate;
+       unicode-bidi: -webkit-isolate;
+       unicode-bidi: isolate;
 }
 
 #pagehistory .history-user {