restyle the width of input

This commit is contained in:
2026-06-13 15:36:18 +03:30
parent 9c2a22e012
commit e7e704aaf7
2 changed files with 4 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ const FinishMissionContent = ({ rowId, mutate, setOpenFinishMissionDialog }) =>
<DialogContent>
<Stack alignItems="center" spacing={2}>
<Typography mt={2}>آیا از ورود خودرو و پایان ماموریت اطمینان دارید؟</Typography>
<Stack>
<Stack sx={{width : "87%"}}>
<Controller
control={control}
name={"end_km"}
@@ -73,6 +73,7 @@ const FinishMissionContent = ({ rowId, mutate, setOpenFinishMissionDialog }) =>
field.onChange(e.target.value);
}}
size="small"
sx={{width : "100%"}}
fullWidth
label="کیلومتر خودرو / ساعت کار"
InputLabelProps={{ shrink: true }}

View File

@@ -60,7 +60,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
<DialogContent dividers>
<Stack alignItems="center" spacing={2}>
<Typography mt={2}>آیا از خروج خودرو و شروع ماموریت اطمینان دارید؟</Typography>
<Stack>
<Stack sx={{ width: "84%" }}>
<Controller
control={control}
name={"code"}
@@ -85,7 +85,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
)}
/>
</Stack>
<Stack>
<Stack sx={{ width: "84%" }}>
<Controller
control={control}
name={"km"}