Skip to content

Commit

Permalink
Closes #2029 with update to sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzupkoii committed Apr 4, 2024
1 parent 2ae25fa commit 2765f55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _sass/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@include clearfix();
margin-bottom: 1em;

@media screen and (min-width: 1024px) {
@media screen and (min-width: $sidebar-min-width) {
position: fixed;
padding-top: $masthead-height;
}
Expand All @@ -30,6 +30,7 @@
}

@include breakpoint($x-large) {
max-width: $sidebar-link-max-width;
padding-right: 0;
}

Expand Down
6 changes: 6 additions & 0 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ $type-size-8 : 0.625em; // ~10px
/* masthead properties */
$masthead-height : 50px;

/* Sidebar properties */
$sidebar-min-width : 1024px;
$sidebar-link-max-width : 250px;



/*
Colors
========================================================================== */
Expand Down

0 comments on commit 2765f55

Please sign in to comment.