Skip to content

Do not hide GitLab logo and primary nav menu when global search is focused

What does this MR do and why?

Follow-up from !96932 (merged).

Now that we have more space to work with, it is no longer necessary to conserve space by hiding the gitlab logo and primary menu toggle when the global search input is focused, so this behavior is being removed.

Screenshots or screen recordings

before after
before-global-search after-global-search

How to set up and validate locally

  1. Check out this branch
  2. Visit any page where the top navbar is active
  3. Resize your browser window to somewhere between 1000px and 1200px
  4. Focus the global search
  5. Observe that the primary menu toggle and gitlab logo are not hidden

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #373172 (closed)

Edited by Mike Greiling

Merge request reports