Skip to content

Commit 96c1a6a

Browse files
committed
Fix drawer content not expanding properly
Refs: #7487
1 parent 6943f75 commit 96c1a6a

File tree

1 file changed

+24
-0
lines changed
  • packages/components/src/components/drawer

1 file changed

+24
-0
lines changed

packages/components/src/components/drawer/style.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,51 @@
1919
left: 0;
2020
height: 100vh;
2121
max-height: 100%;
22+
23+
.drawer__content {
24+
height: 100%;
25+
max-width: rem(400);
26+
box-sizing: border-box;
27+
}
2228
}
2329

2430
&--right {
2531
top: 0;
2632
right: 0;
2733
height: 100vh;
2834
max-height: 100%;
35+
36+
.drawer__content {
37+
height: 100%;
38+
max-width: rem(400);
39+
box-sizing: border-box;
40+
}
2941
}
3042

3143
&--top {
3244
left: 0;
3345
top: 0;
3446
width: 100vw;
3547
max-width: 100%;
48+
49+
.drawer__content {
50+
width: 100%;
51+
max-height: rem(400);
52+
box-sizing: border-box;
53+
}
3654
}
3755

3856
&--bottom {
3957
left: 0;
4058
bottom: 0;
4159
width: 100vw;
4260
max-width: 100%;
61+
62+
.drawer__content {
63+
width: 100%;
64+
max-height: rem(400);
65+
box-sizing: border-box;
66+
}
4367
}
4468
}
4569

0 commit comments

Comments
 (0)