Skip to content

Commit

Permalink
Apply RTL layout to the options page
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jan 6, 2025
1 parent 4977537 commit 7dc32ea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions webextensions/options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
@import url(/resources/ui-base.css);
@import url(/resources/ui-color.css);

:root.rtl {
direction: rtl;
}

:root > * {
transition: opacity 0.25s ease-out;
}
Expand Down Expand Up @@ -322,6 +326,11 @@ body > section.collapsed > h1:first-child::before {
transform: rotate(-90deg);
}

:root.rtl fieldset.collapsible.collapsed > legend::before,
:root.rtl body > section.collapsed > h1:first-child::before {
transform: rotate(90deg);
}


:root.successor-tab-support .without-successor-tab-support,
:root:not(.successor-tab-support) .with-successor-tab-support {
Expand Down

0 comments on commit 7dc32ea

Please sign in to comment.