Update ObjectChildTable to use dynamic 'bordered' property based on 'minimal' prop for improved layout flexibility.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
This commit is contained in:
parent
6e11c92862
commit
01be1ab29a
@ -461,7 +461,7 @@ const ObjectChildTable = ({
|
|||||||
rowKey={resolvedRowKey}
|
rowKey={resolvedRowKey}
|
||||||
scroll={scrollConfig}
|
scroll={scrollConfig}
|
||||||
locale={{ emptyText }}
|
locale={{ emptyText }}
|
||||||
bordered={true}
|
bordered={minimal}
|
||||||
style={{ maxWidth: minimal ? '100%' : maxWidth, minWidth: 0 }}
|
style={{ maxWidth: minimal ? '100%' : maxWidth, minWidth: 0 }}
|
||||||
className='rollup-table'
|
className='rollup-table'
|
||||||
/>
|
/>
|
||||||
@ -479,7 +479,7 @@ const ObjectChildTable = ({
|
|||||||
size={size}
|
size={size}
|
||||||
rowKey={resolvedRowKey}
|
rowKey={resolvedRowKey}
|
||||||
scroll={scrollConfig}
|
scroll={scrollConfig}
|
||||||
bordered={true}
|
bordered={minimal}
|
||||||
locale={{ emptyText }}
|
locale={{ emptyText }}
|
||||||
pagination={false}
|
pagination={false}
|
||||||
className={hasRollups ? 'child-table-rollups' : 'child-table'}
|
className={hasRollups ? 'child-table-rollups' : 'child-table'}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user