diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:05:10 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:05:10 +0300 |
commit | 05224ae64ac769e3b9b06679d6e44fb120c879ef (patch) | |
tree | baf7cf0144477dc8d81a384908824a96c3fae4ef /app/helpers/nav_helper.rb | |
parent | 09e712c0fb721059e4b2619eb9fc104257fc492d (diff) |
Restore sidebar tooltips and fix logo tooltip location
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb index 9b1dd8b8e54..e6fb8670e57 100644 --- a/app/helpers/nav_helper.rb +++ b/app/helpers/nav_helper.rb @@ -5,6 +5,14 @@ module NavHelper def nav_sidebar_class if nav_menu_collapsed? + "sidebar-collapsed" + else + "sidebar-expanded" + end + end + + def page_sidebar_class + if nav_menu_collapsed? "page-sidebar-collapsed" else "page-sidebar-expanded" |