Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-18 19:40:42 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-07-18 21:37:43 +0300
commitb4b5ad39932b9f56a16e1d0a8c96f75b32e934fc (patch)
tree5b5d81357f624026ff9b9756b11918ebb53fe9ed /app/views/layouts/_page.html.haml
parentcb83c50d4663532b5b1729b27301d22102c17524 (diff)
Make sidebar accessible on mobile
Diffstat (limited to 'app/views/layouts/_page.html.haml')
-rw-r--r--app/views/layouts/_page.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/_page.html.haml b/app/views/layouts/_page.html.haml
index cc9219cb6fe..7734c1d8be3 100644
--- a/app/views/layouts/_page.html.haml
+++ b/app/views/layouts/_page.html.haml
@@ -10,6 +10,8 @@
- if content_for?(:sub_nav)
= yield :sub_nav
.content-wrapper{ class: "#{(layout_nav_class unless show_new_nav?)}" }
+ - if show_new_nav?
+ .mobile-overlay
.alert-wrapper
= render "layouts/broadcast"
- if show_new_nav?