Skip to content

Commit 31eaa76

Browse files
committed
fix other quirks with rtl languages (gorhill#3611)
1 parent c92c0e8 commit 31eaa76

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/1p-filters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<button id="userFiltersApply" class="custom important" type="button" disabled="true" data-i18n="1pApplyChanges"></button>&ensp;
2525
<button id="userFiltersRevert" class="custom" type="button" disabled="true" data-i18n="genericRevert"></button>
2626
</p>
27-
<p><div class="codeMirrorContainer" id="userFilters" dir="auto" spellcheck="false"></div></p>
27+
<p><div class="codeMirrorContainer" id="userFilters" spellcheck="false"></div></p>
2828
<p>
2929
<button id="importUserFiltersFromFile" class="custom" data-i18n="1pImport"></button>&ensp;
3030
<button id="exportUserFiltersToFile" class="custom" data-i18n="1pExport"></button>

src/css/codemirror.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
.cm-search-widget {
2828
align-items: center;
2929
background-color: #eee;
30+
direction: ltr;
3031
display: flex;
3132
flex-shrink: 0;
3233
justify-content: center;
@@ -60,6 +61,9 @@
6061
.cm-search-widget[data-query] .cm-search-widget-count {
6162
display: flex;
6263
}
64+
.cm-search-widget .cm-search-widget-button {
65+
cursor: pointer;
66+
}
6367
.cm-search-widget .cm-search-widget-button:hover {
6468
color: #000;
6569
}

src/css/dyna-rules.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ body[dir="rtl"] #commitButton:before {
107107
}
108108
body[dir="rtl"] .CodeMirror-merge-pane-rightmost {
109109
right: unset;
110-
left: 0px;
110+
left: 0;
111111
}

0 commit comments

Comments
 (0)