From 4a46c8adbfe54bc9c72f3b80086c4a45150a6dc2 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 22 May 2024 13:25:39 +0200 Subject: [PATCH] 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. --- .../project/Project/CreateProject/SelectionButton.styles.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/project/Project/CreateProject/SelectionButton.styles.tsx b/frontend/src/component/project/Project/CreateProject/SelectionButton.styles.tsx index 89b9761948..d4317514af 100644 --- a/frontend/src/component/project/Project/CreateProject/SelectionButton.styles.tsx +++ b/frontend/src/component/project/Project/CreateProject/SelectionButton.styles.tsx @@ -15,6 +15,7 @@ export const StyledListItem = styled(ListItem)(({ theme }) => ({ backgroundColor: theme.palette.action.hover, outline: 'none', }, + minHeight: theme.spacing(4.5), })); export const StyledCheckbox = styled(Checkbox)(({ theme }) => ({