gitlab-org--gitlab-foss/app/views/layouts/_collapse_button.html.haml
Sabba Petri b3fd0ca04d Toggle sidebar button more obvious
The toggle is now at the top of the sidebar because it is not noticeable
near the bottom. By placing it at the top, users will immediately know that
they can have more space if they desire versus on the bottom, they will have
to search for it and that's not desired.

Fixes #2044
2015-02-23 14:27:52 -08:00

4 lines
207 B
Text

- if nav_menu_collapsed?
= link_to icon('angle-right'), '#', class: 'toggle-nav-collapse', title: "Open/Close"
- else
= link_to icon('angle-left'), '#', class: 'toggle-nav-collapse', title: "Open/Close"