Skip to content

Commit 13f14f9

Browse files
committed
Fix height of search
1 parent e3220ff commit 13f14f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

templates/style/_navbar.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,13 @@ div.nav-container {
7676

7777
form.landing-search-form-nav {
7878
max-width: 1200px;
79-
height: 100%;
8079
display: flex;
8180
flex-direction: row;
8281

8382
#search-input-nav {
8483
display: none;
8584
border-left: 1px solid var(--color-border);
86-
height: 100%;
85+
height: calc(#{$top-navbar-height} - 1px);
8786

8887
@media #{$media-sm} {
8988
display: block;
@@ -107,7 +106,7 @@ div.nav-container {
107106
font-size: 0.8em;
108107
box-shadow: none;
109108
background-color: var(--color-background);
110-
height: 100%;
109+
height: calc(#{$top-navbar-height} - 1px);
111110
}
112111
}
113112

0 commit comments

Comments
 (0)