Skip to content

Commit a8731df

Browse files
dudeofawesomemanucorporat
authored andcommitted
fix(tabs): properly align tabs highlight (#11619)
When `Tabs` are nested within each other, the highlight can get misaligned. This prevents that by ensuring the affected `.tab-highlight` is a direct child of the targeted `Tabs`.
1 parent 7803998 commit a8731df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tabs/tabs.md.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ $tabs-md-tab-icon-size: 2.4rem !default;
302302
transition-duration: 300ms;
303303
}
304304

305-
.tabs-md[tabsHighlight=true][tabsPlacement=bottom] .tab-highlight {
305+
.tabs-md[tabsHighlight=true][tabsPlacement=bottom] > .tabbar > .tab-highlight {
306306
top: 0;
307307
}
308308

0 commit comments

Comments
 (0)