Skip to content

Commit 782e11d

Browse files
authored
fix(b-sidebar): make sure to not exceed 100% in height (closes #6176) (#6234)
* fix(b-sidebar): make sure to not exceed 100% in height * Update _sidebar.scss
1 parent 64fb091 commit 782e11d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/components/sidebar/_sidebar.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.b-sidebar-outer {
2-
position: fixed !important;
2+
position: fixed;
33
top: 0;
44
left: 0;
55
right: 0;
@@ -9,7 +9,7 @@
99
}
1010

1111
.b-sidebar-backdrop {
12-
position: fixed !important;
12+
position: fixed;
1313
top: 0;
1414
left: 0;
1515
z-index: -1;
@@ -21,12 +21,13 @@
2121
.b-sidebar {
2222
display: flex;
2323
flex-direction: column;
24-
position: fixed !important;
24+
position: fixed;
2525
top: 0;
26-
height: 100vh;
2726
width: $b-sidebar-width;
28-
max-width: 100% !important;
29-
margin: 0 !important;
27+
max-width: 100%;
28+
height: 100vh;
29+
max-height: 100%;
30+
margin: 0;
3031
outline: 0;
3132
transform: translateX(0);
3233

0 commit comments

Comments
 (0)