fix(striker-ui): adjust grid layout in add mail server form

main
Tsu-ba-me 11 months ago
parent d40efa9289
commit 550bbc26df
  1. 8
      striker-ui/components/ManageMailServer/AddMailServerForm.tsx

@ -160,7 +160,7 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
} }
/> />
</Grid> </Grid>
<Grid item sm={2} xs={1}> <Grid item width="100%">
<UncontrolledInput <UncontrolledInput
input={ input={
<SelectWithLabel <SelectWithLabel
@ -176,7 +176,7 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
} }
/> />
</Grid> </Grid>
<Grid item sm={2} xs={1}> <Grid item width="100%">
<UncontrolledInput <UncontrolledInput
input={ input={
<SelectWithLabel <SelectWithLabel
@ -192,7 +192,7 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
} }
/> />
</Grid> </Grid>
<Grid item sm={2} xs={1}> <Grid item width="100%">
<UncontrolledInput <UncontrolledInput
input={ input={
<OutlinedInputWithLabel <OutlinedInputWithLabel
@ -238,7 +238,7 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
} }
/> />
</Grid> </Grid>
<Grid item xs={1} /> <Grid display={{ xs: 'none', sm: 'initial' }} item sm={1} />
<Grid item xs={1}> <Grid item xs={1}>
<UncontrolledInput <UncontrolledInput
input={ input={

Loading…
Cancel
Save