From efcba21100fdea0315d1e66ba51445c18d65790a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 29 Jul 2020 19:58:12 -0700 Subject: [PATCH] styles: Reorder rule to work around weird postcss-nested bug. For mysterious reasons, this avoids the following message printed by webpack on a cold cache after upgrading postcss-nested from 4.2.1 to 4.2.2: Ignoring local source map at "/srv/zulip/" as resource is missing. Signed-off-by: Anders Kaseorg --- static/styles/portico/landing-page.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss index 4b002a749a..47fc027b01 100644 --- a/static/styles/portico/landing-page.scss +++ b/static/styles/portico/landing-page.scss @@ -3454,6 +3454,8 @@ nav { } &.active { + font-weight: 400; + &::after { content: ">"; transform: scale(1, 1); @@ -3461,8 +3463,6 @@ nav { left: -25px; font-weight: 400; } - - font-weight: 400; } } }