Skip to content

Improve search bar: active state

What does this MR do?

When the search bar becomes active:

  • The width of the search box should increase to 320px for more comfortable typing.
  • The width of the suggestions dropdown should be 320px
  • The separator between the options for issues and MRs should be removed.
  • The headers that indicate the scope should be as follows:
    • Project: Name of the project (no change)
    • Group: Name of the group (no change)
    • Global: All GitLab
  • The style of these headers should match the 'Header title' style from the dropdown library spec previews.

Are there points in the code the reviewer needs to double check?

I changed the dropdown global styles 😟

Why was this MR needed?

See #36409 (closed)

Screenshots (if relevant)

Project Group Global
ce_36409-search-navigate--focused-project ce_36409-search-navigate--focused-group ce_36409-search-navigate--focused-global

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #36409 (closed)

Edited by Dennis Tang

Merge request reports