mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
Jeremy Elbourn
parent
c4331048ec
commit
0589881a3b
@@ -300,7 +300,7 @@ mat-action-list {
|
||||
@media (hover: none) {
|
||||
.mat-list-option,
|
||||
.mat-nav-list .mat-list-item {
|
||||
&:hover {
|
||||
&:not(.mat-list-item-disabled):hover {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user