fix(striker-ui): relocate add button in NetworkInitForm

main
Tsu-ba-me 2 years ago
parent a53056ff12
commit fbd3ca1cf1
  1. 15
      striker-ui/components/NetworkInitForm.tsx

@ -1245,12 +1245,6 @@ const NetworkInitForm = forwardRef<
}, },
}} }}
> >
<IconButton
disabled={isDisableAddNetworkButton}
onClick={createNetwork}
>
<MUIAddIcon />
</IconButton>
<MUIBox <MUIBox
sx={{ sx={{
alignItems: 'strech', alignItems: 'strech',
@ -1299,15 +1293,20 @@ const NetworkInitForm = forwardRef<
<FlexBox <FlexBox
sm="row" sm="row"
sx={{ sx={{
marginLeft: { sm: '3.8em' },
marginTop: '.2em', marginTop: '.2em',
'& > *': { '& > :not(button)': {
minWidth: networkInputMinWidth, minWidth: networkInputMinWidth,
width: { sm: networkInputWidth }, width: { sm: networkInputWidth },
}, },
}} }}
> >
<IconButton
disabled={isDisableAddNetworkButton}
onClick={createNetwork}
>
<MUIAddIcon />
</IconButton>
<InputWithRef <InputWithRef
input={ input={
<OutlinedInputWithLabel <OutlinedInputWithLabel

Loading…
Cancel
Save