Skip to content

Commit 2765f55

Browse files
committed
Closes #2029 with update to sidebar
1 parent 2ae25fa commit 2765f55

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

_sass/_sidebar.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@include clearfix();
1414
margin-bottom: 1em;
1515

16-
@media screen and (min-width: 1024px) {
16+
@media screen and (min-width: $sidebar-min-width) {
1717
position: fixed;
1818
padding-top: $masthead-height;
1919
}
@@ -30,6 +30,7 @@
3030
}
3131

3232
@include breakpoint($x-large) {
33+
max-width: $sidebar-link-max-width;
3334
padding-right: 0;
3435
}
3536

_sass/_variables.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ $type-size-8 : 0.625em; // ~10px
4545
/* masthead properties */
4646
$masthead-height : 50px;
4747

48+
/* Sidebar properties */
49+
$sidebar-min-width : 1024px;
50+
$sidebar-link-max-width : 250px;
51+
52+
53+
4854
/*
4955
Colors
5056
========================================================================== */

0 commit comments

Comments
 (0)