diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-10 02:53:25 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-10 02:53:25 +0300 |
commit | 8eb31c40fc854ee5c1290c429d71ceb77bc5f6ba (patch) | |
tree | 4f308831b03463c2e7459870a21f60dd8b1c2569 /app/views/layouts/header | |
parent | 618033fb2f0461275f03541f428e33b3e1b4d721 (diff) |
Hide navbar on mobile
Diffstat (limited to 'app/views/layouts/header')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index 86930d4eaaf..172579dafda 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -1,9 +1,12 @@ %header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class } %div{ class: fluid_layout ? "container-fluid" : "container-fluid" } .header-content - %button.navbar-toggle{type: 'button'} + %button.side-nav-toggle{type: 'button'} %span.sr-only Toggle navigation = icon('bars') + %button.navbar-toggle{type: 'button'} + %span.sr-only Toggle navigation + = icon('angle-left') .navbar-collapse.collapse %ul.nav.navbar-nav |