File tree Expand file tree Collapse file tree 4 files changed +8
-10
lines changed
client/packages/lowcoder/src Expand file tree Collapse file tree 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
125125 this . children . showHeader . propertyView ( { label : trans ( "prop.showHeader" ) } ) ,
126126 this . children . showBody . propertyView ( { label : trans ( "prop.showBody" ) } ) ,
127127 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" ) } ) ,
129129 ] ;
130130 }
131131
Original file line number Diff line number Diff line change @@ -506,17 +506,11 @@ export const MarginStyle = [
506506export const ContainerStyle = [
507507 // ...BG_STATIC_BORDER_RADIUS,
508508 getStaticBorder ( ) ,
509+ getBackground ( ) ,
509510 RADIUS ,
510511 BORDER_WIDTH ,
511512 MARGIN ,
512513 PADDING ,
513- {
514- name : "background" ,
515- label : trans ( "style.background" ) ,
516- depName : "background" ,
517- depType : DEP_TYPE . SELF ,
518- transformer : toSelf ,
519- } ,
520514 {
521515 name : "backgroundImage" ,
522516 label : trans ( "style.backgroundImage" ) ,
Original file line number Diff line number Diff line change @@ -435,7 +435,11 @@ export const LeftContent = (props: LeftContentProps) => {
435435 < DirectoryTreeStyle
436436 treeData = { explorerData }
437437 // 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+ ) }
439443 // switcherIcon={({ expanded }: { expanded: boolean }) =>
440444 // expanded ? <FoldedIcon /> : <UnfoldIcon />
441445 // }
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ export const LeftLayersContent = (props: LeftLayersContentProps) => {
458458 onDrop = { ( info ) => handleDrop ( info ) }
459459 treeData = { componentTreeData }
460460 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' } } >
462462 { CompStateIcon [ props . type as UICompType ] || < LeftCommon /> }
463463 </ div >
464464 ) }
You can’t perform that action at this time.
0 commit comments