Skip to content

Commit e406a02

Browse files
Add the spinner outside the create new dataset button (#2299)
1 parent 7e274eb commit e406a02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

geonode_mapstore_client/client/js/plugins/CreateDataset/containers/CreateDataset.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,16 +374,16 @@ const CreateDataset = ({
374374
</table>
375375
</FlexBox>
376376

377-
<div>
377+
<FlexBox centerChildrenVertically gap="sm">
378378
<Button
379379
className="gn-attribute-button"
380380
variant="success"
381381
disabled={!!allErrors.length || loading}
382382
onClick={handleCreate}>
383383
<Message msgId="gnviewer.createNewDataset" />
384-
{loading ? <Spinner /> : null}
385384
</Button>
386-
</div>
385+
{loading ? <Spinner /> : null}
386+
</FlexBox>
387387
</FlexBox>
388388
</FlexBox>
389389
);

0 commit comments

Comments
 (0)