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,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue