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;
}
}
}
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;
}
}
}
}