Skip to content

Commit

Permalink
➕ Allow user to configure sidebar full breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfahan committed May 8, 2021
1 parent c297c4c commit 06b29b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
width: 100%;
@include transition($sidebar-transition);

@include media-breakpoint-above(sm) {
@include media-breakpoint-above($sidebar-full-breakpoint) {
width: inherit;
min-width: $sidebar-minwidth;
max-width: $sidebar-maxwidth;
Expand Down
1 change: 1 addition & 0 deletions src/settings/objects/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $sidebar-direction: left !default;
$sidebar-transition: #{$sidebar-direction} .5s ease-in-out !default;
$sidebar-minwidth: 250px !default;
$sidebar-maxwidth: 60vw !default;
$sidebar-full-breakpoint: sm !default;

// Overlay
$overlay-background: rgba($black, .75) !default;
Expand Down

0 comments on commit 06b29b2

Please sign in to comment.