From 0f5fc2962a03b8a8523579356ac9f381a64b409f Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 8 Jul 2024 16:27:17 -0400 Subject: [PATCH] RTL: Reverse collapsible-section animation --- scss/elements/_collapsibleSection.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scss/elements/_collapsibleSection.scss b/scss/elements/_collapsibleSection.scss index a91ce05c20..b6f4a75528 100644 --- a/scss/elements/_collapsibleSection.scss +++ b/scss/elements/_collapsibleSection.scss @@ -79,6 +79,11 @@ collapsible-section { &[open]:not([empty]) > .head { toolbarbutton.twisty .toolbarbutton-icon { transform: rotate(-180deg); + + &:-moz-locale-dir(rtl) { + // Make the animation run in the opposite direction in RTL locales + transform: rotate(180deg); + } } .title-box .summary {