From c9145e83b62d3e06bd51230af1acb9c879b1bb05 Mon Sep 17 00:00:00 2001 From: Lea Date: Thu, 19 Dec 2024 09:43:31 +0100 Subject: [PATCH] fix(components): add border top main navigation on mobile (#4301) --- .../components/src/components/post-header/post-header.scss | 4 ++++ .../components/src/components/post-header/post-header.tsx | 7 ++++++- .../components/post-megadropdown/post-megadropdown.scss | 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/components/src/components/post-header/post-header.scss b/packages/components/src/components/post-header/post-header.scss index cbded0ac45..2b22afd3ed 100644 --- a/packages/components/src/components/post-header/post-header.scss +++ b/packages/components/src/components/post-header/post-header.scss @@ -110,6 +110,10 @@ slot[name='post-logo'] { z-index: 1; inset-block-start: var(--global-header-height); padding-inline: var(--post-core-dimension-8) var(--post-core-dimension-16); + + &.title-header-mobile-extended { + border-bottom: 1px solid var(--post-core-color-sandgrey-012); + } } } diff --git a/packages/components/src/components/post-header/post-header.tsx b/packages/components/src/components/post-header/post-header.tsx index 9e04361563..fa1d21ecb1 100644 --- a/packages/components/src/components/post-header/post-header.tsx +++ b/packages/components/src/components/post-header/post-header.tsx @@ -150,7 +150,12 @@ export class PostHeader { -
+
diff --git a/packages/components/src/components/post-megadropdown/post-megadropdown.scss b/packages/components/src/components/post-megadropdown/post-megadropdown.scss index 3871f4d11c..c489f8c48b 100644 --- a/packages/components/src/components/post-megadropdown/post-megadropdown.scss +++ b/packages/components/src/components/post-megadropdown/post-megadropdown.scss @@ -45,6 +45,7 @@ post-popovercontainer { left: 0; width: 100%; height: auto; + border-top: unset; &.slide-in { animation: slide-in;