Skip to content

Commit bfa2883

Browse files
fix(tabs): override browser focus styles in tab content container (#8343)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent df0d1e0 commit bfa2883

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/src/components/tabs/_tabs.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,10 @@
402402
//-----------------------------
403403
.#{$prefix}--tab-content {
404404
padding: $carbon--spacing-05;
405+
406+
&:focus {
407+
@include focus-outline('outline');
408+
}
405409
}
406410

407411
//-----------------------------

0 commit comments

Comments
 (0)