File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
packages/components/src/components/drawer Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 33
44@layer kol-component {
55 .kol-drawer {
6+ $root : &;
67 font-size : rem (16 );
78
89 & __dialog {
2122 left : 0 ;
2223 height : 100vh ;
2324 max-height : 100% ;
25+
26+ #{$root } __content {
27+ height : 100% ;
28+ max-width : rem (400 );
29+ box-sizing : border-box ;
30+ }
2431 }
2532
2633 & --right {
2734 top : 0 ;
2835 right : 0 ;
2936 height : 100vh ;
3037 max-height : 100% ;
38+
39+ #{$root } __content {
40+ height : 100% ;
41+ max-width : rem (400 );
42+ box-sizing : border-box ;
43+ }
3144 }
3245
3346 & --top {
3447 left : 0 ;
3548 top : 0 ;
3649 width : 100vw ;
3750 max-width : 100% ;
51+
52+ #{$root } __content {
53+ width : 100% ;
54+ max-height : rem (400 );
55+ box-sizing : border-box ;
56+ }
3857 }
3958
4059 & --bottom {
4160 left : 0 ;
4261 bottom : 0 ;
4362 width : 100vw ;
4463 max-width : 100% ;
64+
65+ #{$root } __content {
66+ width : 100% ;
67+ max-height : rem (400 );
68+ box-sizing : border-box ;
69+ }
4570 }
4671 }
4772
You can’t perform that action at this time.
0 commit comments