1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

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).
This commit is contained in:
Jonas Jenwald 2024-04-10 11:30:30 +02:00
parent 77ee914bd6
commit 3596a03279

View file

@ -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));
}