From eb9051237258aa9ca127d55a2f8094d86a9844f7 Mon Sep 17 00:00:00 2001 From: leagrdv Date: Fri, 20 Dec 2024 15:55:01 +0100 Subject: [PATCH] fix mixed-decl warnings --- .../components/post-megadropdown/post-megadropdown.scss | 9 ++++++--- packages/styles/src/components/header/_mixins.scss | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/components/src/components/post-megadropdown/post-megadropdown.scss b/packages/components/src/components/post-megadropdown/post-megadropdown.scss index 4fd31720bb..54ee0e926c 100644 --- a/packages/components/src/components/post-megadropdown/post-megadropdown.scss +++ b/packages/components/src/components/post-megadropdown/post-megadropdown.scss @@ -30,6 +30,7 @@ post-popovercontainer { --post-global-header-height: 72px; --post-main-header-height: 56px; --post-header-height: calc(var(--post-global-header-height) + var(--post-main-header-height)); + background-color: #fafafa; border: none; border-top: 1px solid #e1e0dc; @@ -143,9 +144,11 @@ post-popovercontainer { display: flex; justify-content: space-between; min-height: 53px; - @include header-mx.mobile-header-interactive; - height: unset; - font-weight: 900; + + @include header-mx.mobile-header-interactive() { + height: unset; + font-weight: 900; + } } @include media.max(lg) { diff --git a/packages/styles/src/components/header/_mixins.scss b/packages/styles/src/components/header/_mixins.scss index 6929865015..5953a3aa71 100644 --- a/packages/styles/src/components/header/_mixins.scss +++ b/packages/styles/src/components/header/_mixins.scss @@ -20,6 +20,8 @@ font-weight: var(--post-core-font-weight-700); position: relative; + @content; + &::before { content: ''; background-color: currentColor;