From b099022f5a1004a6952a0fb09b36fdf841ae46d6 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Thu, 12 Jul 2018 10:20:34 +0300 Subject: [PATCH] (FuseSidebar) Max. width & width tweaks for small screen devices --- src/@fuse/components/sidebar/sidebar.component.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/@fuse/components/sidebar/sidebar.component.scss b/src/@fuse/components/sidebar/sidebar.component.scss index 63a7775a..7d46246e 100644 --- a/src/@fuse/components/sidebar/sidebar.component.scss +++ b/src/@fuse/components/sidebar/sidebar.component.scss @@ -1,3 +1,5 @@ +@import "src/@fuse/scss/fuse"; + fuse-sidebar { display: flex; flex-direction: column; @@ -14,6 +16,12 @@ fuse-sidebar { box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.35); background: white; + @include media-breakpoint-down('xs') { + min-width: 0 !important; + max-width: 80vw !important; + width: 80vw !important; + } + &.left-positioned { left: 0; transform: translateX(-100%);