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.
This commit is contained in:
Reza M Ghayeghchi 2025-01-02 01:42:01 +01:00
parent 951aae3801
commit 973e8a0fd8

View file

@ -189,21 +189,21 @@
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
} }
} }
}
button, button,
[type="submit"], [type="submit"],
[type="reset"], [type="reset"],
[type="button"], [type="button"],
[role="button"], [role="button"],
input:not([type="checkbox"], [type="radio"]), input:not([type="checkbox"], [type="radio"]),
select, select,
label, label,
> legend, > legend,
> details > summary { > details > summary {
&:not(:first-child) { &:not(:first-child) {
margin-right: calc(var(#{$css-var-prefix}border-width) * -1); margin-right: calc(var(#{$css-var-prefix}border-width) * -1);
margin-left: auto; margin-left: auto;
}
} }
} }
} }