From 1ff2543577ee43737bf4256b5d43cd7125520b25 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Sun, 28 Oct 2018 20:19:29 +0100 Subject: [PATCH] fix(list): remove disabled selection list hover feedback on mobile Currently on mobile devices we counteract the `:hover` styling by removing the background, however this ends up removing the disabled styling. --- src/lib/list/list.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/list/list.scss b/src/lib/list/list.scss index 1229eced4170..081bdb494505 100644 --- a/src/lib/list/list.scss +++ b/src/lib/list/list.scss @@ -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; } }