Only make first level children of tablist button[role="tab"]'s styles for tabs and not have it apply to other buttons within it.

This commit is contained in:
Yohn 2025-01-14 17:24:12 -05:00
parent 2955c38659
commit 16283c55d3

View file

@ -27,7 +27,7 @@
flex-wrap: wrap; // make sure it wraps
padding-bottom: 0;
button {
> button[role="tab"] {
flex-grow: 1;
order: 1; // Put the labels first
padding: calc(var(#{$css-var-prefix}spacing) * 0.625);