From 97693d953298de29eac2b0eb860188855935f386 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev Date: Fri, 20 Jan 2023 17:17:05 +0100 Subject: [PATCH] Simplify navbar backdrop --- packages/core/styles/components/navbar.pcss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/core/styles/components/navbar.pcss b/packages/core/styles/components/navbar.pcss index 202cb9c..f872b59 100644 --- a/packages/core/styles/components/navbar.pcss +++ b/packages/core/styles/components/navbar.pcss @@ -239,11 +239,8 @@ html[data-theme='dark'], right: 0; top: 0; visibility: hidden; - @mixin transition opacity visibility, 100ms, ease-in-out; - - @media (prefers-reduced-motion) { - @mixin transition visibility, 100ms, ease-in-out; - } + @mixin transition opacity visibility, var(--ifm-transition-fast), + ease-in-out; } &__brand {