1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 02:12:36 +01:00

fix other quirks with rtl languages (#3611)

This commit is contained in:
Raymond Hill 2018-03-16 19:38:43 -04:00
parent c92c0e86a1
commit 31eaa766dc
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,7 @@
<button id="userFiltersApply" class="custom important" type="button" disabled="true" data-i18n="1pApplyChanges"></button>&ensp; <button id="userFiltersApply" class="custom important" type="button" disabled="true" data-i18n="1pApplyChanges"></button>&ensp;
<button id="userFiltersRevert" class="custom" type="button" disabled="true" data-i18n="genericRevert"></button> <button id="userFiltersRevert" class="custom" type="button" disabled="true" data-i18n="genericRevert"></button>
</p> </p>
<p><div class="codeMirrorContainer" id="userFilters" dir="auto" spellcheck="false"></div></p> <p><div class="codeMirrorContainer" id="userFilters" spellcheck="false"></div></p>
<p> <p>
<button id="importUserFiltersFromFile" class="custom" data-i18n="1pImport"></button>&ensp; <button id="importUserFiltersFromFile" class="custom" data-i18n="1pImport"></button>&ensp;
<button id="exportUserFiltersToFile" class="custom" data-i18n="1pExport"></button> <button id="exportUserFiltersToFile" class="custom" data-i18n="1pExport"></button>

View File

@ -27,6 +27,7 @@
.cm-search-widget { .cm-search-widget {
align-items: center; align-items: center;
background-color: #eee; background-color: #eee;
direction: ltr;
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
justify-content: center; justify-content: center;
@ -60,6 +61,9 @@
.cm-search-widget[data-query] .cm-search-widget-count { .cm-search-widget[data-query] .cm-search-widget-count {
display: flex; display: flex;
} }
.cm-search-widget .cm-search-widget-button {
cursor: pointer;
}
.cm-search-widget .cm-search-widget-button:hover { .cm-search-widget .cm-search-widget-button:hover {
color: #000; color: #000;
} }

View File

@ -107,5 +107,5 @@ body[dir="rtl"] #commitButton:before {
} }
body[dir="rtl"] .CodeMirror-merge-pane-rightmost { body[dir="rtl"] .CodeMirror-merge-pane-rightmost {
right: unset; right: unset;
left: 0px; left: 0;
} }