@@ -512,12 +512,12 @@ let MTComp = (function () {
512
512
styles = { {
513
513
wrapper : {
514
514
maxHeight : "100%" ,
515
- maxWidth : "100%"
516
- } ,
515
+ maxWidth : "100%" ,
516
+ } ,
517
517
body : {
518
518
padding : 0 ,
519
519
backgroundColor : props . style . background ,
520
- }
520
+ } ,
521
521
} }
522
522
closable = { false }
523
523
placement = { props . placement }
@@ -569,8 +569,10 @@ let MTComp = (function () {
569
569
)
570
570
. setPropertyViewFn ( ( children ) => (
571
571
< >
572
- { ( useContext ( EditorContext ) . editorModeStatus === "logic" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
573
- < > < Section name = { sectionNames . meetings } >
572
+ { ( useContext ( EditorContext ) . editorModeStatus === "logic" ||
573
+ useContext ( EditorContext ) . editorModeStatus === "both" ) && (
574
+ < >
575
+ < Section name = { sectionNames . meetings } >
574
576
{ children . appId . propertyView ( {
575
577
label : trans ( "meeting.appid" ) ,
576
578
} ) }
@@ -593,38 +595,40 @@ let MTComp = (function () {
593
595
</ >
594
596
) }
595
597
596
- { ( useContext ( EditorContext ) . editorModeStatus === "layout" || useContext ( EditorContext ) . editorModeStatus === "both" ) && (
597
- < > < Section name = { sectionNames . layout } >
598
- { children . placement . propertyView ( {
599
- label : trans ( "drawer.placement" ) ,
600
- radioButton : true ,
601
- } ) }
602
- { [ "top" , "bottom" ] . includes ( children . placement . getView ( ) )
603
- ? children . autoHeight . getPropertyView ( )
604
- : children . width . propertyView ( {
605
- label : trans ( "drawer.width" ) ,
606
- tooltip : trans ( "drawer.widthTooltip" ) ,
598
+ { ( useContext ( EditorContext ) . editorModeStatus === "layout" ||
599
+ useContext ( EditorContext ) . editorModeStatus === "both" ) && (
600
+ < >
601
+ < Section name = { sectionNames . layout } >
602
+ { children . placement . propertyView ( {
603
+ label : trans ( "drawer.placement" ) ,
604
+ radioButton : true ,
605
+ } ) }
606
+ { [ "top" , "bottom" ] . includes ( children . placement . getView ( ) )
607
+ ? children . autoHeight . getPropertyView ( )
608
+ : children . width . propertyView ( {
609
+ label : trans ( "drawer.width" ) ,
610
+ tooltip : trans ( "drawer.widthTooltip" ) ,
611
+ placeholder : DEFAULT_SIZE + "" ,
612
+ } ) }
613
+ { ! children . autoHeight . getView ( ) &&
614
+ [ "top" , "bottom" ] . includes ( children . placement . getView ( ) ) &&
615
+ children . height . propertyView ( {
616
+ label : trans ( "drawer.height" ) ,
617
+ tooltip : trans ( "drawer.heightTooltip" ) ,
607
618
placeholder : DEFAULT_SIZE + "" ,
608
619
} ) }
609
- { ! children . autoHeight . getView ( ) &&
610
- [ "top" , "bottom" ] . includes ( children . placement . getView ( ) ) &&
611
- children . height . propertyView ( {
612
- label : trans ( "drawer.height" ) ,
613
- tooltip : trans ( "drawer.heightTooltip" ) ,
614
- placeholder : DEFAULT_SIZE + "" ,
620
+ { children . maskClosable . propertyView ( {
621
+ label : trans ( "prop.maskClosable" ) ,
622
+ } ) }
623
+ { children . showMask . propertyView ( {
624
+ label : trans ( "prop.showMask" ) ,
615
625
} ) }
616
- { children . maskClosable . propertyView ( {
617
- label : trans ( "prop.maskClosable" ) ,
618
- } ) }
619
- { children . showMask . propertyView ( {
620
- label : trans ( "prop.showMask" ) ,
621
- } ) }
622
- </ Section >
623
-
624
- < Section name = { sectionNames . style } >
625
-
626
- { children . style . getPropertyView ( ) }
627
- </ Section > </ >
626
+ </ Section >
627
+
628
+ < Section name = { sectionNames . style } >
629
+ { children . style . getPropertyView ( ) }
630
+ </ Section >
631
+ </ >
628
632
) }
629
633
</ >
630
634
) )
0 commit comments