Skip to content

Commit 7a8b89a

Browse files
authored
Merge pull request danskernesdigitalebibliotek#118 from reload/feature/fix-search-header
Ensure second menu level is always full height
2 parents a32d9ed + d2ad30a commit 7a8b89a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/stories/Blocks/header/header.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@
130130
}
131131
}
132132

133+
.header__menu-second {
134+
height: 100%;
135+
}
136+
133137
.header__menu-search {
134138
display: flex;
135139
align-items: center;

src/stories/Library/autosuggest-text/autosuggest-text.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
left: 0;
66
right: 0;
77
top: calc(100% + 1px);
8-
8+
z-index: 1;
9+
910
@include breakpoint-m {
1011
padding-top: 16px;
1112
}
12-
1313

1414
&__text {
1515
height: 40px;
@@ -20,7 +20,7 @@
2020
background-color: $c-global-secondary;
2121
cursor: pointer;
2222
}
23-
23+
2424
&--highlight {
2525
background-color: $c-global-secondary;
2626
}

0 commit comments

Comments
 (0)