Skip to content

Toggle the navbar when changing browser width

Sarah German requested to merge 1082-responsive-navbar into main

What does this MR do and why

  • Collapses (closes) the main menu when resizing the browser window from large => small
  • Expands (opens) the main menu when resizing small => large
  • Does not expand the menu if you've collapsed it and resize from large => larger
  • No change on mobile (menu still defaults to closed)
  • Replaces the arrow icons on the toggle button with GitLab UI icons

Screenshots

Before After
Jul-27-2022_12-12-37 Jul-27-2022_12-10-45

How to test

In the review app, verify the behavior above.

MR testing checklist: https://docs.gitlab.com/ee/development/code_review.html#quality

Closes #1082 (closed)

Edited by Sarah German

Merge request reports

Loading