This commit is contained in:
gorhill 2015-01-13 12:54:13 -05:00
parent 31e2b1ac03
commit 35ee7b79f8
2 changed files with 8 additions and 2 deletions

View file

@ -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 {

View file

@ -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>