From 973e8a0fd83e3bd13579cf42e10c6fe5da0978b4 Mon Sep 17 00:00:00 2001 From: Reza M Ghayeghchi Date: Thu, 2 Jan 2025 01:42:01 +0100 Subject: [PATCH] Fix RTL margin handling in group component I had made a mistake previously by putting the RTL margin styles one level higher than where it belonged. --- scss/components/_group.scss | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/scss/components/_group.scss b/scss/components/_group.scss index dca79b96..a4647746 100644 --- a/scss/components/_group.scss +++ b/scss/components/_group.scss @@ -189,21 +189,21 @@ border-bottom-left-radius: 0; } } - } - button, - [type="submit"], - [type="reset"], - [type="button"], - [role="button"], - input:not([type="checkbox"], [type="radio"]), - select, - label, - > legend, - > details > summary { - &:not(:first-child) { - margin-right: calc(var(#{$css-var-prefix}border-width) * -1); - margin-left: auto; + button, + [type="submit"], + [type="reset"], + [type="button"], + [role="button"], + input:not([type="checkbox"], [type="radio"]), + select, + label, + > legend, + > details > summary { + &:not(:first-child) { + margin-right: calc(var(#{$css-var-prefix}border-width) * -1); + margin-left: auto; + } } } }