Skip to content

Commit

Permalink
fix(Tabs): show focused state if focus-visible only (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfilatov authored Sep 12, 2023
1 parent 7ff46ce commit 88b89f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/Tabs/Tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ $block: '.#{variables.$ns}tabs';
outline: 2px solid var(--g-color-line-focus);
}
}

&:focus:not(:focus-visible) {
#{$block}__item-content {
outline: 0;
}
}
}

&_direction_horizontal {
Expand Down

0 comments on commit 88b89f7

Please sign in to comment.