Skip to content

Commit

Permalink
fix(components): add border top main navigation on mobile (#4301)
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv authored Dec 19, 2024
1 parent 1e856c0 commit c9145e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,12 @@ export class PostHeader {
</div>
</div>
</div>
<div class="title-header d-flex space-between align-center">
<div
class={
'title-header d-flex space-between align-center ' +
(this.mobileMenuExtended ? 'title-header-mobile-extended' : '')
}
>
<slot name="title"></slot>
<div class="global-sub">
<slot name="local-controls"></slot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ post-popovercontainer {
left: 0;
width: 100%;
height: auto;
border-top: unset;

&.slide-in {
animation: slide-in;
Expand Down

0 comments on commit c9145e8

Please sign in to comment.