try new layout

This commit is contained in:
Fox 2026-06-24 13:07:39 +01:00
parent e728c1511d
commit 7c5b884db0

View File

@ -36,7 +36,7 @@ export default function Sidebar(props : SidebarProps) {
</Box> </Box>
<Box sx={{ p: 2}}> <Box sx={{ p: 2}}>
<Grid container spacing={1} sx={{width: '100%'}}> <Grid container spacing={1} sx={{width: '100%'}}>
<Grid size={6}> <Grid size={10}>
<Typography component='legend'>Firm Name</Typography> <Typography component='legend'>Firm Name</Typography>
<TextField <TextField
label='Firm Name' label='Firm Name'
@ -45,8 +45,7 @@ export default function Sidebar(props : SidebarProps) {
onChange={e => props.onChange(Object.assign({}, {...props.filters}, {namePart: (e.target as any).value}))} onChange={e => props.onChange(Object.assign({}, {...props.filters}, {namePart: (e.target as any).value}))}
/> />
</Grid> </Grid>
<Grid size={6}> <Grid size={2}>
<Typography component='legend'>Search by Name Only</Typography>
<ToggleButton <ToggleButton
value="check" value="check"
selected={props.filters.nameOnly} selected={props.filters.nameOnly}