From 3596a0327915f1e32c7a99ec69329a8b080fe512 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Wed, 10 Apr 2024 11:30:30 +0200 Subject: [PATCH] Fix the RTL-rule for the `editorHighlightShowAll` button, such that it works outside of the Firefox PDF Viewer These CSS rules were imported straight from mozilla-central, and contains a property that causes the RTL-rule to be skipped everywhere else (even when using the development viewer in Firefox). --- web/toggle_button.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/toggle_button.css b/web/toggle_button.css index 6c1da23d0..18642e272 100644 --- a/web/toggle_button.css +++ b/web/toggle_button.css @@ -151,7 +151,9 @@ background-color: var(--toggle-dot-background-color-on-pressed); } - &[aria-pressed="true"]:-moz-locale-dir(rtl)::before, + /*#if MOZCENTRAL*/ + /*&[aria-pressed="true"]:-moz-locale-dir(rtl)::before,*/ + /*#endif*/ &[aria-pressed="true"]:dir(rtl)::before { translate: calc(-1 * var(--toggle-dot-transform-x)); }