[yew-devel] [PATCH yew-widget-toolkit-assets v2 5/7] application bar: reverse back arrow for rtl
Dominik Csapak
d.csapak at proxmox.com
Mon Jun 30 10:24:55 CEST 2025
so it's in the correct orientation in RTL mode.
needs the corresponding pwt patch to set the class.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v1:
* use :dir(rtl) for detecting rtl
scss/_application_bar.scss | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scss/_application_bar.scss b/scss/_application_bar.scss
index b367a0b..4839347 100644
--- a/scss/_application_bar.scss
+++ b/scss/_application_bar.scss
@@ -10,4 +10,9 @@
padding: var(--pwt-spacer-1);
gap: var(--pwt-spacer-2);
}
+
+ /* change arrow icon direction */
+ .pwt-application-bar-back:dir(rtl) {
+ transform: scaleX(-1);
+ }
}
--
2.39.5
More information about the yew-devel
mailing list