Skip to content

Commit 0589881

Browse files
crisbetojelbourn
authored andcommitted
fix(list): remove disabled selection list hover feedback on mobile (#13850)
Currently on mobile devices we counteract the `:hover` styling by removing the background, however this ends up removing the disabled styling.
1 parent c433104 commit 0589881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/list/list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ mat-action-list {
300300
@media (hover: none) {
301301
.mat-list-option,
302302
.mat-nav-list .mat-list-item {
303-
&:hover {
303+
&:not(.mat-list-item-disabled):hover {
304304
background: none;
305305
}
306306
}

0 commit comments

Comments
 (0)