Re-align global search input
What does this MR do and why?
Re-aligns the global search input to the left within the main nav bar. This is governed by the default-enabled new_navbar_layout
flag.
Screenshots or screen recordings
xl before | xl after |
---|---|
![]() |
![]() |
![]() |
![]() |
lg before | lg after |
---|---|
![]() |
![]() |
![]() |
![]() |
md before | md after |
---|---|
![]() |
![]() |
How to set up and validate locally
- Check out the branch
- Visit any page where the primary navbar is rendered
- Observe that the global search input comports with the design specs in #370803 (closed) and that it functions as expected at various viewport sizes
- Disable the feature flag (
rails c
)Feature.disable(:new_navbar_layout)
- Observe that the global search input reverts to its former state (right aligned) and that it remains fully functional.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Part of #366082 (closed) and #370803 (closed)
Edited by Mike Greiling