From 1b29fc21a7e14d201631a0debc24e5c904583663 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 8 Jun 2015 17:50:24 -0400 Subject: [PATCH] fixes for RTL languages --- src/css/logger-ui.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/css/logger-ui.css b/src/css/logger-ui.css index 54f0b7cf1..a3cb83324 100644 --- a/src/css/logger-ui.css +++ b/src/css/logger-ui.css @@ -389,10 +389,15 @@ body[dir="rtl"] #popupContainer > div { #urlFilteringMenu .dialog > div.headers > span.tools { display: inline-block; position: absolute; - right: 0; top: 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 { cursor: pointer; 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 { box-sizing: border-box; + direction: ltr; height: 6em; resize: none; width: 100%;