Bring up form when it has focus, also

This commit is contained in:
benjamin melançon 2018-12-25 23:24:11 -05:00
parent d9a187bd58
commit 3ef69dd84f

View file

@ -236,12 +236,10 @@ a.navbar-link:hover,
padding: 3.5rem 1rem 0.666rem 1rem;
background-color: $dark;
}
.navbar-search-swap:hover,
.navbar-search-swap:focus {
form {
.navbar-search-swap:hover form,
form:focus-within {
top: -3rem;
}
}
.navbar-search-swap form .form-item .control .form-text.input {
width: 18rem;
}