From 84a5a28d31a647ea27ab538398f46cf7e23fce8e Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 12 Dec 2016 13:01:41 +0100 Subject: [PATCH] Prevent broken hover state on touch devices --- wcfsetup/install/files/style/ui/like.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wcfsetup/install/files/style/ui/like.scss b/wcfsetup/install/files/style/ui/like.scss index 0b46896120..e6e1f09dfb 100644 --- a/wcfsetup/install/files/style/ui/like.scss +++ b/wcfsetup/install/files/style/ui/like.scss @@ -23,3 +23,9 @@ color: #900 !important; } } + +html.touch .wcfLikeButton > .button:not(.active):hover, +html.touch .wcfDislikeButton > .button:not(.active):hover { + background-color: $wcfButtonBackground !important; + color: $wcfButtonText !important; +} \ No newline at end of file -- 2.20.1