aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-01-13 12:54:13 -0500
committergorhill <rhill@raymondhill.net>2015-01-13 12:54:13 -0500
commit35ee7b79f8b27f7ab6d204cfd2879bf6defb4a5e (patch)
tree603c9b5788c487964c5ae6b3160b73eab18628fd /src
parent31e2b1ac031f2f70a3f7e05841c9626c49d83ff2 (diff)
downloaduBlock-35ee7b79f8b27f7ab6d204cfd2879bf6defb4a5e.zip
uBlock-35ee7b79f8b27f7ab6d204cfd2879bf6defb4a5e.tar.gz
uBlock-35ee7b79f8b27f7ab6d204cfd2879bf6defb4a5e.tar.bz2
this fixes #489
Diffstat (limited to 'src')
-rw-r--r--src/css/devtool-log.css8
-rw-r--r--src/dyna-rules.html2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/css/devtool-log.css b/src/css/devtool-log.css
index 29482cf..1ae60b4 100644
--- a/src/css/devtool-log.css
+++ b/src/css/devtool-log.css
@@ -28,12 +28,18 @@ body {
background-color: #eee;
}
#content {
- margin-left: 4em;
width: calc(100% - 4em);
}
+body[dir="ltr"] #content {
+ margin-left: 4em;
+ }
+body[dir="rtl"] #content {
+ margin-right: 4em;
+ }
#content table {
border: 0;
border-collapse: collapse;
+ direction: ltr;
width: 100%;
}
#content table tr.blocked {
diff --git a/src/dyna-rules.html b/src/dyna-rules.html
index 80f54c5..167182a 100644
--- a/src/dyna-rules.html
+++ b/src/dyna-rules.html
@@ -13,7 +13,7 @@
<div>
<p data-i18n="rulesFormatHint"></p>
<p><button id="rulesApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
- <textarea id="rulesEditor" spellcheck="false"></textarea>
+ <textarea id="rulesEditor" spellcheck="false" dir="auto"></textarea>
<p><button id="importButton" type="button" data-i18n="1pImport"></button> &emsp;
<button id="exportButton" type="button" data-i18n="1pExport"></button>
<input class="hidden" id="importFilePicker" type="file" accept="text/plain" style="display: none;"></p>