From: Alexander Ebert Date: Mon, 12 Dec 2016 12:01:41 +0000 (+0100) Subject: Prevent broken hover state on touch devices X-Git-Tag: 3.0.0_RC_1~31 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=84a5a28d31a647ea27ab538398f46cf7e23fce8e;p=GitHub%2FWoltLab%2FWCF.git Prevent broken hover state on touch devices --- 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