From 5bf57072e2bcdf5125222c7c6fc1a63a616c48f6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Aug 2016 13:15:42 +0200 Subject: [PATCH] Fixed toolbar style on mobile --- wcfsetup/install/files/style/ui/redactor.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/ui/redactor.scss b/wcfsetup/install/files/style/ui/redactor.scss index a0e00895cc..6187228c37 100644 --- a/wcfsetup/install/files/style/ui/redactor.scss +++ b/wcfsetup/install/files/style/ui/redactor.scss @@ -171,7 +171,6 @@ cursor: default; } - &:hover, &.redactor-act, &.dropact { background-color: $wcfHeaderMenuLinkBackgroundActive; @@ -182,6 +181,15 @@ color: inherit; cursor: inherit !important; } + + @include screen-lg { + // hover-styles on mobile are misleading as they stay much longer + // due to the click-like behavior + &:hover { + background-color: $wcfHeaderMenuLinkBackgroundActive; + color: $wcfHeaderMenuLinkActive; + } + } } @include screen-sm-up { -- 2.20.1