From 55eaa0c137bdf98d1c6c8d473c5409a27ff4a22b Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 15 Mar 2017 21:54:06 +0000 Subject: [PATCH] Don't use "!important" on animated properties on userbar items (#3447) They don't seem to be necessary (the .is-active properties surely have higher specificity than the ones that set initial state), and they cause a rendering bug on Firefox 52. Fixes #3443 --- .../wagtailadmin/static_src/wagtailadmin/scss/userbar.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss index bd3376e645..448293b11c 100644 --- a/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss +++ b/wagtail/wagtailadmin/static_src/wagtailadmin/scss/userbar.scss @@ -330,6 +330,6 @@ $positions: ( // Active state for the list items comes last. .#{$namespace}-userbar.is-active .#{$namespace}-userbar__item { - transform: translateY(0) !important; - opacity: 1 !important; + transform: translateY(0); + opacity: 1; }