1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Merge pull request #17917 from Snuffleupagus/showAll-rtl

Fix the RTL-rule for the `editorHighlightShowAll` button, such that it works outside of the Firefox PDF Viewer
This commit is contained in:
Jonas Jenwald 2024-04-10 12:55:30 +02:00 committed by GitHub
commit f3b03e5c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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