Skip to content

Commit a8059c2

Browse files
crisbetoAbderrahmane Hamila
authored andcommitted
fix(list): action list button outline not being reset on firefox (angular#14693)
Fixes the extra focus outline that Firefox adds to buttons not being reset for the action list items.
1 parent 704936e commit a8059c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/list/list.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ mat-action-list {
277277
border: none;
278278
font: inherit;
279279
outline: inherit;
280+
-webkit-tap-highlight-color: transparent;
281+
282+
&::-moz-focus-inner {
283+
border: 0;
284+
}
280285
}
281286

282287
.mat-list-item {

0 commit comments

Comments
 (0)