From 16283c55d37aaf533967747d51c440782be8f9ec Mon Sep 17 00:00:00 2001 From: Yohn Date: Tue, 14 Jan 2025 17:24:12 -0500 Subject: [PATCH] Only make first level children of tablist button[role="tab"]'s styles for tabs and not have it apply to other buttons within it. --- scss/components/_tab.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/components/_tab.scss b/scss/components/_tab.scss index cfb8e3c67..3251e1288 100644 --- a/scss/components/_tab.scss +++ b/scss/components/_tab.scss @@ -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);