File tree 3 files changed +10394
-7472
lines changed
3 files changed +10394
-7472
lines changed Original file line number Diff line number Diff line change 20
20
overflow : auto ;
21
21
}
22
22
23
+ .side_drawer ,
24
+ .side_drawer_title {
25
+ overflow : auto ;
26
+ }
27
+
28
+ .side_drawer {
29
+ min-height : 85vh ;
30
+ max-height : 85vh ;
31
+ }
32
+
33
+ .side_drawer_title {
34
+ min-height : 80vh ;
35
+ max-height : 80vh ;
36
+ }
37
+
23
38
.actions {
24
39
padding-top : size (' 6x' );
25
40
margin-top : size (' 6x' );
Original file line number Diff line number Diff line change @@ -47,7 +47,17 @@ export default function ModalLayout({
47
47
>
48
48
{ title && < Text . H2 className = { classnames ( 'title' ) } > { title } </ Text . H2 > }
49
49
50
- < div className = { classnames ( 'content' ) } > { children } </ div >
50
+ < div
51
+ className = { classnames (
52
+ type === MODAL_TYPE . SIDE_DRAWER
53
+ ? title
54
+ ? 'side_drawer_title'
55
+ : 'side_drawer'
56
+ : 'content'
57
+ ) }
58
+ >
59
+ { children }
60
+ </ div >
51
61
52
62
{ actions && (
53
63
< div
You can’t perform that action at this time.
0 commit comments