From 0589881a3ba91da25644d2de534f2c4d87a753a9 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 29 Oct 2018 16:13:29 +0100 Subject: [PATCH] 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. --- 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 1229eced417..081bdb49450 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; } }