From 7b0fe5aca9eec0f21057850276497b6017aef4e1 Mon Sep 17 00:00:00 2001 From: Christopher DuBois Date: Wed, 6 Nov 2024 09:45:01 -0800 Subject: [PATCH] fix(rtl): row-reverse for rtl --- src/components/ButtonGroup/ButtonGroup.style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/ButtonGroup/ButtonGroup.style.scss b/src/components/ButtonGroup/ButtonGroup.style.scss index 4efcae9171..a206193bd9 100644 --- a/src/components/ButtonGroup/ButtonGroup.style.scss +++ b/src/components/ButtonGroup/ButtonGroup.style.scss @@ -6,10 +6,14 @@ &[data-orientation='horizontal'] { flex-direction: row; + [dir="rtl"] & { + flex-direction: row-reverse; + } } &[data-orientation='vertical'] { flex-direction: column; + } &[data-separator='true'] {