Commit e94482d1 authored by Phil Hughes's avatar Phil Hughes

Issue sidebar overlaps on tablet

parent 0e85a8b8
...@@ -27,14 +27,15 @@ ...@@ -27,14 +27,15 @@
} }
&.right-sidebar-expanded { &.right-sidebar-expanded {
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
padding-right: 0; padding-right: 0;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
padding-right: $gutter_width; padding-right: $sidebar_collapsed_width;
} }
@media (min-width: $screen-md-min) {
padding-right: $gutter_width;
}
} }
} }
...@@ -209,15 +210,6 @@ ...@@ -209,15 +210,6 @@
padding-left: $sidebar_width; padding-left: $sidebar_width;
} }
&.right-sidebar-collapsed {
/* Extra small devices (phones, less than 768px) */
padding-right: 0;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) {
padding-right: $sidebar_collapsed_width;
}
}
.sidebar-wrapper { .sidebar-wrapper {
width: $sidebar_width; width: $sidebar_width;
...@@ -241,9 +233,8 @@ ...@@ -241,9 +233,8 @@
padding-left: $sidebar_collapsed_width; padding-left: $sidebar_collapsed_width;
&.right-sidebar-collapsed { &.right-sidebar-collapsed {
/* Extra small devices (phones, less than 768px) */
padding-right: 0; padding-right: 0;
/* Small devices (tablets, 768px and up) */
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
padding-right: $sidebar_collapsed_width; padding-right: $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