Bring up form when it has focus, also
This commit is contained in:
parent
d9a187bd58
commit
3ef69dd84f
1 changed files with 3 additions and 5 deletions
|
@ -236,11 +236,9 @@ a.navbar-link:hover,
|
||||||
padding: 3.5rem 1rem 0.666rem 1rem;
|
padding: 3.5rem 1rem 0.666rem 1rem;
|
||||||
background-color: $dark;
|
background-color: $dark;
|
||||||
}
|
}
|
||||||
.navbar-search-swap:hover,
|
.navbar-search-swap:hover form,
|
||||||
.navbar-search-swap:focus {
|
form:focus-within {
|
||||||
form {
|
top: -3rem;
|
||||||
top: -3rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.navbar-search-swap form .form-item .control .form-text.input {
|
.navbar-search-swap form .form-item .control .form-text.input {
|
||||||
width: 18rem;
|
width: 18rem;
|
||||||
|
|
Loading…
Reference in a new issue