diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-09-02 18:34:04 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-09-07 22:02:21 +0300 |
commit | a510fe11026ddfd264b9cc4627541b6dac0c38c7 (patch) | |
tree | 8c637f72ee7423cf14137e124dccd1404e8caba6 /app/helpers/nav_helper.rb | |
parent | b2f8ebbb4295e5f070187050e094db87ff9d6ad0 (diff) |
remove superfluous "collapsed" class and rename header classes for clarity
Diffstat (limited to 'app/helpers/nav_helper.rb')
-rw-r--r-- | app/helpers/nav_helper.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/helpers/nav_helper.rb b/app/helpers/nav_helper.rb index 2b0ff6c0d00..99e39eb442a 100644 --- a/app/helpers/nav_helper.rb +++ b/app/helpers/nav_helper.rb @@ -14,8 +14,6 @@ module NavHelper def page_sidebar_class if pinned_nav? "page-sidebar-expanded page-sidebar-pinned" - else - "page-sidebar-collapsed" end end @@ -43,9 +41,7 @@ module NavHelper class_name << " with-horizontal-nav" if defined?(nav) && nav if pinned_nav? - class_name << " header-expanded header-pinned-nav" - else - class_name << " header-collapsed" + class_name << " header-sidebar-expanded header-sidebar-pinned" end class_name |