Commit Graph

2 Commits

Author SHA1 Message Date
Ezekiel Kigbo 9ef058bee2
Updated nav-sidebar to collapse on load
Adds the collapsed mixin to the styling for .nav-sidebar
ensuring the nav-sidebar is collapsed on load via media
queries. Removes the need for an intermediate class to
collapse the sidebar on mobile viewports

Updated toggleCollapsedSidebar to check for desktop breakpoint
2019-03-05 00:58:22 +11:00
Luke Bennett 6b3966407b
Add tests for nav sidebar collapsed on render
Adds rspec view tests that expect the nav sidebar
to have a class that will cause the nav sidebar
to be rendered collapsed with or without js.

Tests the nav sidebar on the admin, group,
instance statistics, user profile and project
sidebars.
2019-03-05 00:58:21 +11:00