Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit a99b7d4

Browse files
fix(tabs): Disable firefox focus ring (#4560)
1 parent bec2ef2 commit a99b7d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/mdc-tab/mdc-tab.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
cursor: pointer;
5151
-webkit-appearance: none;
5252
z-index: 1;
53+
54+
// Firefox still draws a dotted border around focused buttons unless specifically overridden.
55+
:-moz-focusring {
56+
border: none;
57+
}
5358
}
5459

5560
.mdc-tab--min-width {

0 commit comments

Comments
 (0)