fixes for RTL languages

This commit is contained in:
gorhill 2015-06-08 17:50:24 -04:00
parent 93ec8ac55d
commit 1b29fc21a7
1 changed files with 7 additions and 1 deletions

View File

@ -389,10 +389,15 @@ body[dir="rtl"] #popupContainer > div {
#urlFilteringMenu .dialog > div.headers > span.tools { #urlFilteringMenu .dialog > div.headers > span.tools {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
right: 0;
top: 50%; top: 50%;
transform: translate(0, -50%); transform: translate(0, -50%);
} }
body[dir="ltr"] #urlFilteringMenu .dialog > div.headers > span.tools {
right: 0;
}
body[dir="rtl"] #urlFilteringMenu .dialog > div.headers > span.tools {
left: 0;
}
#urlFilteringMenu .dialog > div.headers > span.tools > span { #urlFilteringMenu .dialog > div.headers > span.tools > span {
cursor: pointer; cursor: pointer;
font-size: 1.2em; font-size: 1.2em;
@ -528,6 +533,7 @@ body.colorBlind #urlFilteringMenu .dialog > div.containers > div.dynamic tr.ent
} }
#urlFilteringMenu .dialog > div.containers > div.static textarea { #urlFilteringMenu .dialog > div.containers > div.static textarea {
box-sizing: border-box; box-sizing: border-box;
direction: ltr;
height: 6em; height: 6em;
resize: none; resize: none;
width: 100%; width: 100%;