Commit c684bcc8 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fixes padding when right sidebar is not present

parent 13047483
......@@ -12,6 +12,10 @@
height: 100%;
transition-duration: .3s;
}
&.right-sidebar-expanded {
padding-right: $gutter_width;
}
}
.sidebar-wrapper {
......@@ -179,6 +183,9 @@
}
@mixin expanded-sidebar {
&.right-sidebar-collapsed {
padding-right: $sidebar_collapsed_width;
}
// when the screen is small enough
@media (max-width: $screen-md-max) {
......@@ -212,6 +219,10 @@
@mixin collapsed-sidebar {
padding-left: $sidebar_collapsed_width;
&.right-sidebar-collapsed {
padding-right: $sidebar_collapsed_width;
}
.sidebar-wrapper {
width: $sidebar_collapsed_width;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment