Skip to content

Commit

Permalink
fix(b-sidebar): make sure to not exceed 100% in height (closes #6176) (
Browse files Browse the repository at this point in the history
…#6234)

* fix(b-sidebar): make sure to not exceed 100% in height

* Update _sidebar.scss
  • Loading branch information
jacobmllr95 committed Dec 21, 2020
1 parent 64fb091 commit 782e11d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/sidebar/_sidebar.scss
@@ -1,5 +1,5 @@
.b-sidebar-outer {
position: fixed !important;
position: fixed;
top: 0;
left: 0;
right: 0;
Expand All @@ -9,7 +9,7 @@
}

.b-sidebar-backdrop {
position: fixed !important;
position: fixed;
top: 0;
left: 0;
z-index: -1;
Expand All @@ -21,12 +21,13 @@
.b-sidebar {
display: flex;
flex-direction: column;
position: fixed !important;
position: fixed;
top: 0;
height: 100vh;
width: $b-sidebar-width;
max-width: 100% !important;
margin: 0 !important;
max-width: 100%;
height: 100vh;
max-height: 100%;
margin: 0;
outline: 0;
transform: translateX(0);

Expand Down

0 comments on commit 782e11d

Please sign in to comment.