remove unneeded divs

This commit is contained in:
burnettk 2023-01-30 16:47:20 -05:00
parent a4e4fdbd44
commit 797ccbad5f
1 changed files with 28 additions and 38 deletions

View File

@ -54,14 +54,9 @@ export default function ArrayFieldItemTemplate<
{children}
</Column>
{hasToolbar && (
<Column
sm={1}
md={1}
lg={1}
>
<Column sm={1} md={1} lg={1}>
<div className="array-item-toolbox">
<div className="NOT-btn-group">
<div>
{(hasMoveUp || hasMoveDown) && (
<MoveUpButton
style={btnStyle}
@ -71,8 +66,6 @@ export default function ArrayFieldItemTemplate<
registry={registry}
/>
)}
</div>
<div>
{(hasMoveUp || hasMoveDown) && (
<MoveDownButton
style={btnStyle}
@ -82,8 +75,6 @@ export default function ArrayFieldItemTemplate<
registry={registry}
/>
)}
</div>
<div>
{hasRemove && (
<RemoveButton
style={btnStyle}
@ -95,7 +86,6 @@ export default function ArrayFieldItemTemplate<
)}
</div>
</div>
</div>
</Column>
)}
</Grid>