Skip to content

Commit 745486b

Browse files
authored
fix: logo being overlayed by the header (#975)
1 parent b25f71d commit 745486b

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

source/_patterns/02-components/sitesearch/sitesearch.scss

-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
@media screen and (max-width: $db-break-the-header-max-width) {
1212
margin-inline-start: auto;
1313
margin-inline-end: 2.25rem;
14-
padding-inline-end: 2rem;
1514

1615
&::before {
1716
display: none;
@@ -100,9 +99,5 @@
10099
width: calc(100vw - 5.5rem);
101100
}
102101
}
103-
104-
.elm-button {
105-
inset-inline-end: 2rem;
106-
}
107102
}
108103
}

source/_patterns/03-areas/00-header/header.scss

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

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

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

3335
&:has(.cmp-mainnavigation > input[type="checkbox"][id]:not(:checked)) {
3436
.rea-meta {
35-
position: absolute;
36-
inset: 0;
37-
margin: 0;
38-
3937
& > .elm-link,
4038
.cmp-metanavigation,
4139
.cmp-language-switcher,

0 commit comments

Comments
 (0)