Skip to content

Commit f15873e

Browse files
committed
fix(Drawer): fix Drawer height (#480)
1 parent 931db90 commit f15873e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Drawer/Drawer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ $block: '.#{variables.$ns}drawer';
2626
left: var(--gn-aside-header-size, 0);
2727
top: var(--gn-top-alert-height, 0);
2828
bottom: 0;
29-
height: 100%;
3029
will-change: transform;
3130
background-color: var(--g-color-base-background);
3231
pointer-events: initial;
@@ -41,11 +40,13 @@ $block: '.#{variables.$ns}drawer';
4140
&_direction_top {
4241
bottom: auto;
4342
right: 0;
43+
height: 100%;
4444
}
4545

4646
&_direction_bottom {
4747
top: auto;
4848
right: 0;
49+
height: 100%;
4950
}
5051
}
5152

0 commit comments

Comments
 (0)