diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-18 19:40:42 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-07-18 21:37:43 +0300 |
commit | b4b5ad39932b9f56a16e1d0a8c96f75b32e934fc (patch) | |
tree | 5b5d81357f624026ff9b9756b11918ebb53fe9ed /app/views/layouts/nav/_breadcrumbs.html.haml | |
parent | cb83c50d4663532b5b1729b27301d22102c17524 (diff) |
Make sidebar accessible on mobile
Diffstat (limited to 'app/views/layouts/nav/_breadcrumbs.html.haml')
-rw-r--r-- | app/views/layouts/nav/_breadcrumbs.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/layouts/nav/_breadcrumbs.html.haml b/app/views/layouts/nav/_breadcrumbs.html.haml index 475d89f1156..cef6e022d2b 100644 --- a/app/views/layouts/nav/_breadcrumbs.html.haml +++ b/app/views/layouts/nav/_breadcrumbs.html.haml @@ -3,8 +3,9 @@ %nav.breadcrumbs{ role: "navigation" } .breadcrumbs-container{ class: [container_class, @content_class] } - %button.toggle-mobile-nav - = icon ('bars') + - if defined?(@new_sidebar) + %button.toggle-mobile-nav + = icon ('bars') .breadcrumbs-links.js-title-container - unless hide_top_links .title |