Fix CodeMirror in RTL languages
authorTim Düsterhus <duesterhus@woltlab.com>
Sat, 19 Sep 2015 13:32:29 +0000 (15:32 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sat, 19 Sep 2015 13:32:29 +0000 (15:32 +0200)
wcfsetup/install/files/style/layout.less

index ab61de5317deb227ae6c8922d12b00bb3bed714a..04ee8cd4c6f2c5155431ec1c7307b28c3b05a50f 100644 (file)
@@ -2326,6 +2326,11 @@ see: http://beta.woltlab.com/index.php/Thread/3874-Kosmetik-Darstellungsfehler-I
        line-height: 1.2;
 }
 
+/* Force LTR in RTL languages */
+.CodeMirror {
+       direction: ltr;
+}
+
 /* twitter timeline on ACP index */
 #news-twitter-timeline > iframe {
        width: 100% !important;