Skip to content

Loading…

textarea elements rtl/ltr fixes #175

Closed
wants to merge 12 commits into from

4 participants

@Mikey1993

Fixing textareas resizer side on 3p-filters and English text not being
written as it should on all textareas.

@gorhill

Aren't the textareas supposed to always be ltr since it's for entering filters, URLs, etc. i.e. only ascii-based strings?

@Mikey1993

Yes, but I guess you can customize it to be rtl if needed.
But, the dir property here is added because the cursor blinker isn't lined up properly when writing in ltr language (like English), for example in the "userFilters" textarea - this fixes it.

I have also added the direction rule to the "externalLists" textarea because the resize grabber was on the wrong side.

@Mikey1993 Mikey1993 some more css fixes to textareas
Fixing textareas resizer side on 3p-filters and the blinker not behaving
right when writing in English on some textareas.
1fa32ec
@Mikey1993 Mikey1993 closed this
@Mikey1993 Mikey1993 reopened this
@Mikey1993 Mikey1993 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 23, 2014
  1. @tailHey @Mikey1993

    Updated 0.5.x French translation

    tailHey committed with Mikey1993
  2. @gorhill @Mikey1993

    this fixes #166

    gorhill committed with Mikey1993
  3. @gorhill @Mikey1993

    typo

    gorhill committed with Mikey1993
  4. @gorhill @Mikey1993
  5. @Baegus @Mikey1993

    Deleted some unused hidden layers

    Baegus committed with Mikey1993
  6. @gorhill @Mikey1993
  7. @Mikey1993
  8. @Mikey1993
  9. @Mikey1993
  10. @Mikey1993
  11. @Mikey1993

    textarea elements rtl/ltr fixes

    Mikey1993 committed
    Fixing textareas resizer side on 3p-filters and English text not being
    written as it should on all textareas.
Commits on Aug 24, 2014
  1. @Mikey1993

    some more css fixes to textareas

    Mikey1993 committed
    Fixing textareas resizer side on 3p-filters and the blinker not behaving
    right when writing in English on some textareas.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 3 deletions.
  1. +1 −1 1p-filters.html
  2. +2 −1 css/3p-filters.css
  3. +1 −1 whitelist.html
View
2 1p-filters.html
@@ -26,7 +26,7 @@
<div>
<p data-i18n="1pFormatHint"></p>
<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp; <button id="exportUserFiltersToFile" data-i18n="1pExport"></button></p>
- <textarea class="userFilters" id="userFilters"></textarea>
+ <textarea class="userFilters" id="userFilters" dir="auto"></textarea>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
</div>
View
3 css/3p-filters.css
@@ -94,7 +94,8 @@ span.obsolete {
width: 48em;
height: 8em;
white-space: nowrap;
- direction: ltr;
+ direction: __MSG_@@bidi_dir__;
+ text-align: left;
}
body #loadingOverlay {
position: fixed;
View
2 whitelist.html
@@ -29,7 +29,7 @@
<div>
<p data-i18n="whitelistPrompt"></p>
<p><button id="importWhitelistFromFile" data-i18n="whitelistImport"></button> &emsp; <button id="exportWhitelistToFile" data-i18n="whitelistExport"></button></p>
- <textarea id="whitelist"></textarea>
+ <textarea id="whitelist" dir="auto"></textarea>
<p><button id="whitelistApply" type="button" disabled="true" data-i18n="whitelistApply"></button></p>
</div>
Something went wrong with that request. Please try again.