Skip to content

Commit

Permalink
Only make first level children of tablist button[role="tab"]'s styles…
Browse files Browse the repository at this point in the history
… for tabs and not have it apply to other buttons within it.
  • Loading branch information
Yohn committed Jan 14, 2025
1 parent 2955c38 commit 16283c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/components/_tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 16283c5

Please sign in to comment.