Browse Source

全体的に余白を詰める

develop
sosuke.iwabuchi 2 years ago
parent
commit
faf45a7d00
4 changed files with 13 additions and 7 deletions
  1. +1
    -1
      src/layouts/dashbord/index.tsx
  2. +1
    -1
      src/pages/dashboard/login-user/list.tsx
  3. +2
    -5
      src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx
  4. +9
    -0
      src/theme/index.tsx

+ 1
- 1
src/layouts/dashbord/index.tsx View File

@@ -55,7 +55,7 @@ function App() {
}} }}
> >
<Header onDrawerToggle={handleDrawerToggle} /> <Header onDrawerToggle={handleDrawerToggle} />
<Box component="main" sx={{ flex: 1, py: 6, px: 4 }}>
<Box component="main" sx={{ flex: 1, pt: 1, pb: 6, px: 4 }}>
<Outlet /> <Outlet />
</Box> </Box>
<Box component="footer" sx={{ p: 2 }}> <Box component="footer" sx={{ p: 2 }}>


+ 1
- 1
src/pages/dashboard/login-user/list.tsx View File

@@ -165,7 +165,7 @@ function SearchBox({ table }: CommonProps) {
return ( return (
<FormProvider methods={form} onSubmit={form.handleSubmit(handleSubmit)}> <FormProvider methods={form} onSubmit={form.handleSubmit(handleSubmit)}>
<Box sx={{ p: 1, m: 1 }}> <Box sx={{ p: 1, m: 1 }}>
<Grid container spacing={2} mt={1}>
<Grid container spacing={2}>
<Grid item xs={3} lg={2}> <Grid item xs={3} lg={2}>
<Stack> <Stack>
<Typography>名前</Typography> <Typography>名前</Typography>


+ 2
- 5
src/pages/dashboard/receipt-issuing-order/custom/hello-techno/list.tsx View File

@@ -308,7 +308,6 @@ function SearchBox({ table }: CommonProps) {
<Grid item xs={3} lg={2}> <Grid item xs={3} lg={2}>
<Stack> <Stack>
<Typography>ステータス</Typography> <Typography>ステータス</Typography>
{/* <RHFTextField name={SearchParam.STATUS} onBlur={handleBlur} /> */}
<RHFSelect <RHFSelect
name={SearchParam.STATUS} name={SearchParam.STATUS}
options={statusNameOptions} options={statusNameOptions}
@@ -327,7 +326,7 @@ function SearchBox({ table }: CommonProps) {
</Stack> </Stack>
</Grid> </Grid>
</Grid> </Grid>
<Grid container spacing={2} mt={1}>
<Grid container spacing={2} mt={-1}>
<Grid item xs={3} lg={2}> <Grid item xs={3} lg={2}>
<Stack> <Stack>
<Typography>運営会社</Typography> <Typography>運営会社</Typography>
@@ -379,15 +378,13 @@ function SearchBox({ table }: CommonProps) {
</IconButton> </IconButton>
)} )}
</Grid> </Grid>
{/* <Grid item xs></Grid> */}
<Grid item xs={3}> <Grid item xs={3}>
<Typography>はがき一括</Typography>
<Button <Button
variant="contained" variant="contained"
disabled={!downloadLetterUrl} disabled={!downloadLetterUrl}
href={downloadLetterUrl} href={downloadLetterUrl}
> >
ダウンロード
<>はがき一括 ダウンロード</>
</Button> </Button>
</Grid> </Grid>
</Grid> </Grid>


+ 9
- 0
src/theme/index.tsx View File

@@ -170,6 +170,15 @@ theme = {
}, },
}, },
}, },
MuiGrid: {
styleOverrides: {
root: {
"&>.MuiGrid-item": {
paddingTop: theme.spacing(1),
},
},
},
},
}, },
}; };




Loading…
Cancel
Save