From 7b4af515b03dd0102cb4d309e9e7c304fb0497ec Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 27 Dec 2016 17:27:38 +0100 Subject: [PATCH] Work-around for Firefox rendering issue --- wcfsetup/install/files/style/layout/pageHeader.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index 6569c6bc16..a22308e283 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -222,6 +222,18 @@ } } +/* Firefox suffers from subpixel rendering issues */ +@-moz-document url-prefix() { + .mainMenu .boxMenu > li:not(:last-child) { + box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackground; + + &.active, + &:hover { + box-shadow: 0 0 0 1px $wcfHeaderMenuLinkBackgroundActive; + } + } +} + /* user panel */ .userPanel { flex: 0 0 auto; -- 2.20.1