Fix autocomlete alignment
This commit is contained in:
1 parent
f92d08810a
commit
aa282439fc
7 files changed
+326
-6
No files matched your search
@@ -52,7 +52,7 @@ export const AutoCompleteInput = ({
|
||||
const { key, ...optionProps } = props;
|
||||
return (
|
||||
<ListItem key={key} {...optionProps}>
|
||||
<Stack direction={"row"} gap={theme.spacing(2)}>
|
||||
<Stack direction={"row"} alignItems={"center"} gap={theme.spacing(2)}>
|
||||
{multiple && <Checkbox checked={selected} />}
|
||||
{option.name}
|
||||
</Stack>
|
||||
|
||||
@@ -77,7 +77,7 @@ export const HeaderFilter = ({
|
||||
>
|
||||
{UptimeMonitorTypes.map((type) => (
|
||||
<MenuItem key={type} value={type}>
|
||||
<Stack direction={"row"} gap={theme.spacing(2)}>
|
||||
<Stack direction={"row"} alignItems={"center"} gap={theme.spacing(2)}>
|
||||
<Checkbox checked={selectedTypes.includes(type)} />
|
||||
<Typography textTransform={"capitalize"}>{type}</Typography>
|
||||
</Stack>
|
||||
@@ -92,7 +92,7 @@ export const HeaderFilter = ({
|
||||
>
|
||||
{MonitorStatuses.map((status) => (
|
||||
<MenuItem key={status} value={status}>
|
||||
<Stack direction={"row"} gap={theme.spacing(2)}>
|
||||
<Stack direction={"row"} alignItems={"center"} gap={theme.spacing(2)}>
|
||||
<Checkbox checked={selectedStatuses.includes(status)} />
|
||||
<Typography textTransform={"capitalize"}>{status}</Typography>
|
||||
</Stack>
|
||||
|
||||
Reference in new issue
Block a user