From 06b29b2e056b3da60f825ef45b033b4ba1a70cde Mon Sep 17 00:00:00 2001 From: Ashfahan Date: Sat, 8 May 2021 23:24:37 +0500 Subject: [PATCH] :heavy_plus_sign: Allow user to configure sidebar full breakpoint --- src/objects/_layout.scss | 2 +- src/settings/objects/_layout.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/objects/_layout.scss b/src/objects/_layout.scss index 73c1bd2..89fc027 100644 --- a/src/objects/_layout.scss +++ b/src/objects/_layout.scss @@ -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; diff --git a/src/settings/objects/_layout.scss b/src/settings/objects/_layout.scss index 54be9d5..9c20781 100644 --- a/src/settings/objects/_layout.scss +++ b/src/settings/objects/_layout.scss @@ -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;