Navbar search dropdown is spaced too far from field
Summary
At some point the spacing between the navbar search field and the associated dropdown got increased where the dropdown is too far from the field, and does not align to other dropdowns in the navbar.
Steps to reproduce
- Focus the navbar search field.
- Notice the dropdown is too far from the field.
What is the current bug behavior?
The spacing between the search field and the dropdown is too much.
What is the expected correct behavior?
The spacing should be consistent with the other dropdowns in the navbar (8px
/.5rem
from the field)
Relevant logs and/or screenshots
current | proposed |
---|---|
other examples in navbar
menu | MRs | help menu |
---|---|---|
Output of checks
This bug happens on GitLab.com
Possible fixes
Since the dropdown is positioned absolute
, and the container form is releative
, use these definitions for the dropdown (.header-search-dropdown-menu
):
top: 100%;
margin-top: .5rem;
/cc @tbulva
Edited by Nick Brandt