Fix sidebar responsive gap (#1092)

This commit is contained in:
Kyle Knight 2017-01-25 08:35:59 -06:00 committed by Jason Meller
parent 8f6cd65f4b
commit 58e4b43a1f
3 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,6 @@
padding-top: $pad-base;
@include breakpoint(smalldesk) {
width: 300px;
width: $sidepanel-tablet-width;
}
}

View file

@ -77,7 +77,7 @@ a {
max-width: calc(100vw - #{$nav-width} - #{$pad-base} - #{$pad-base} - #{$sidepanel-width});
@include breakpoint(smalldesk) {
max-width: calc(100vw - #{$nav-tablet-width} - #{$pad-base} - #{$pad-base} - #{$sidepanel-width});
max-width: calc(100vw - #{$nav-tablet-width} - #{$pad-base} - #{$pad-base} - #{$sidepanel-tablet-width});
}
}
}

View file

@ -4,3 +4,4 @@ $nav-width: 240px;
$nav-tablet-width: 55px;
$base-font-size: 16;
$sidepanel-width: 320px;
$sidepanel-tablet-width: 300px;