1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: set min-height on dropdown item list (#7106)

This ensures that the dropdown items without checkbox are the same
height as the dropdown items with checkbox.
This commit is contained in:
Thomas Heartman 2024-05-22 13:25:39 +02:00 committed by GitHub
parent c47154b939
commit 4a46c8adbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ export const StyledListItem = styled(ListItem)(({ theme }) => ({
backgroundColor: theme.palette.action.hover, backgroundColor: theme.palette.action.hover,
outline: 'none', outline: 'none',
}, },
minHeight: theme.spacing(4.5),
})); }));
export const StyledCheckbox = styled(Checkbox)(({ theme }) => ({ export const StyledCheckbox = styled(Checkbox)(({ theme }) => ({