gitlab-org--gitlab-foss/app/views/shared/_sidebar_toggle_button.html.haml
Luke Bennett 32c5fa99fe
Fix sidebar flyout navigation
Show flyout nav for active item when collapsed.
2019-06-13 00:18:46 +01:00

8 lines
451 B
Text

%a.toggle-sidebar-button.js-toggle-sidebar.qa-toggle-sidebar{ role: "button", type: "button", title: "Toggle sidebar" }
= sprite_icon('angle-double-left', css_class: 'icon-angle-double-left')
= sprite_icon('angle-double-right', css_class: 'icon-angle-double-right')
%span.collapse-text= _("Collapse sidebar")
= button_tag class: 'close-nav-button', type: 'button' do
= sprite_icon('close', size: 16)
%span.collapse-text= _("Close sidebar")