Skip to content

Commit

Permalink
Merge pull request #17917 from Snuffleupagus/showAll-rtl
Browse files Browse the repository at this point in the history
Fix the RTL-rule for the `editorHighlightShowAll` button, such that it works outside of the Firefox PDF Viewer
  • Loading branch information
Snuffleupagus authored Apr 10, 2024
2 parents e9604e5 + 3596a03 commit f3b03e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/toggle_button.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit f3b03e5

Please sign in to comment.