mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-03-01 09:50:35 +00:00
remove unneeded divs
This commit is contained in:
parent
a4e4fdbd44
commit
797ccbad5f
@ -54,14 +54,9 @@ export default function ArrayFieldItemTemplate<
|
|||||||
{children}
|
{children}
|
||||||
</Column>
|
</Column>
|
||||||
{hasToolbar && (
|
{hasToolbar && (
|
||||||
<Column
|
<Column sm={1} md={1} lg={1}>
|
||||||
sm={1}
|
|
||||||
md={1}
|
|
||||||
lg={1}
|
|
||||||
>
|
|
||||||
<div className="array-item-toolbox">
|
<div className="array-item-toolbox">
|
||||||
<div className="NOT-btn-group">
|
<div className="NOT-btn-group">
|
||||||
<div>
|
|
||||||
{(hasMoveUp || hasMoveDown) && (
|
{(hasMoveUp || hasMoveDown) && (
|
||||||
<MoveUpButton
|
<MoveUpButton
|
||||||
style={btnStyle}
|
style={btnStyle}
|
||||||
@ -71,8 +66,6 @@ export default function ArrayFieldItemTemplate<
|
|||||||
registry={registry}
|
registry={registry}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
{(hasMoveUp || hasMoveDown) && (
|
{(hasMoveUp || hasMoveDown) && (
|
||||||
<MoveDownButton
|
<MoveDownButton
|
||||||
style={btnStyle}
|
style={btnStyle}
|
||||||
@ -82,8 +75,6 @@ export default function ArrayFieldItemTemplate<
|
|||||||
registry={registry}
|
registry={registry}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
{hasRemove && (
|
{hasRemove && (
|
||||||
<RemoveButton
|
<RemoveButton
|
||||||
style={btnStyle}
|
style={btnStyle}
|
||||||
@ -95,7 +86,6 @@ export default function ArrayFieldItemTemplate<
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</Column>
|
</Column>
|
||||||
)}
|
)}
|
||||||
</Grid>
|
</Grid>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user