File tree 4 files changed +8
-10
lines changed
client/packages/lowcoder/src
4 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export class TriContainerComp extends TriContainerBaseComp implements IContainer
125
125
this . children . showHeader . propertyView ( { label : trans ( "prop.showHeader" ) } ) ,
126
126
this . children . showBody . propertyView ( { label : trans ( "prop.showBody" ) } ) ,
127
127
this . children . showFooter . propertyView ( { label : trans ( "prop.showFooter" ) } ) ,
128
- this . children . scrollbars . propertyView ( { label : trans ( "prop.scrollbar" ) } ) ,
128
+ ( ! this . children . autoHeight . getView ( ) ) && this . children . scrollbars . propertyView ( { label : trans ( "prop.scrollbar" ) } ) ,
129
129
] ;
130
130
}
131
131
Original file line number Diff line number Diff line change @@ -506,17 +506,11 @@ export const MarginStyle = [
506
506
export const ContainerStyle = [
507
507
// ...BG_STATIC_BORDER_RADIUS,
508
508
getStaticBorder ( ) ,
509
+ getBackground ( ) ,
509
510
RADIUS ,
510
511
BORDER_WIDTH ,
511
512
MARGIN ,
512
513
PADDING ,
513
- {
514
- name : "background" ,
515
- label : trans ( "style.background" ) ,
516
- depName : "background" ,
517
- depType : DEP_TYPE . SELF ,
518
- transformer : toSelf ,
519
- } ,
520
514
{
521
515
name : "backgroundImage" ,
522
516
label : trans ( "style.backgroundImage" ) ,
Original file line number Diff line number Diff line change @@ -435,7 +435,11 @@ export const LeftContent = (props: LeftContentProps) => {
435
435
< DirectoryTreeStyle
436
436
treeData = { explorerData }
437
437
// icon={(props: NodeItem) => props.type && (CompStateIcon[props.type] || <LeftCommon />)}
438
- icon = { ( props : any ) => props . type && ( CompStateIcon [ props . type as UICompType ] || < LeftCommon /> ) }
438
+ icon = { ( props : any ) => props . type && (
439
+ < div style = { { margin : '16px 4px 0 -4px' } } >
440
+ { CompStateIcon [ props . type as UICompType ] || < LeftCommon /> }
441
+ </ div >
442
+ ) }
439
443
// switcherIcon={({ expanded }: { expanded: boolean }) =>
440
444
// expanded ? <FoldedIcon /> : <UnfoldIcon />
441
445
// }
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ export const LeftLayersContent = (props: LeftLayersContentProps) => {
458
458
onDrop = { ( info ) => handleDrop ( info ) }
459
459
treeData = { componentTreeData }
460
460
icon = { ( props : any ) => props . type && (
461
- < div style = { { margin : '3px 4px 0 -4px' } } > { /* Adjust the margin as needed */ }
461
+ < div style = { { margin : '3px 4px 0 -4px' } } >
462
462
{ CompStateIcon [ props . type as UICompType ] || < LeftCommon /> }
463
463
</ div >
464
464
) }
You can’t perform that action at this time.
0 commit comments