Align search

This commit is contained in:
Niko Strijbol 2016-12-15 09:49:37 +01:00
parent 1217d76a01
commit 19a34ab041
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251

View file

@ -30,6 +30,10 @@
width: 100px;
}
}
//Height of the line underneath when hovering over a menu item
$border-height: 3px;
.nav {
height: 100%;
align-items: flex-end;
@ -42,7 +46,7 @@
font-size: 1.15em;
&:not(.nav-search) {
border-bottom: 3px solid transparent;
border-bottom: $border-height solid transparent;
border-top: 3px solid transparent;
}
@ -59,5 +63,9 @@
border-bottom-color: $zeus-orange;
}
}
.nav-search {
margin-bottom: $border-height;
}
}
}