Skip to content

Commit

Permalink
fix: logo being overlayed by the header (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Sep 24, 2024
1 parent b25f71d commit 745486b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 0 additions & 5 deletions source/_patterns/02-components/sitesearch/sitesearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
@media screen and (max-width: $db-break-the-header-max-width) {
margin-inline-start: auto;
margin-inline-end: 2.25rem;
padding-inline-end: 2rem;

&::before {
display: none;
Expand Down Expand Up @@ -100,9 +99,5 @@
width: calc(100vw - 5.5rem);
}
}

.elm-button {
inset-inline-end: 2rem;
}
}
}
8 changes: 3 additions & 5 deletions source/_patterns/03-areas/00-header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

min-block-size: $header---minHeight;
padding-inline: 1.5rem;
padding-block: 0.875rem;
@media screen and (width > $db-break-the-header-max-width) {
padding-block: 0.875rem;
}

// Divider only if there is a sitesearch and metanavigation
&:has(.cmp-sitesearch):has(.cmp-metanavigation) {
Expand All @@ -32,10 +34,6 @@

&:has(.cmp-mainnavigation > input[type="checkbox"][id]:not(:checked)) {
.rea-meta {
position: absolute;
inset: 0;
margin: 0;

& > .elm-link,
.cmp-metanavigation,
.cmp-language-switcher,
Expand Down

0 comments on commit 745486b

Please sign in to comment.