Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: flex dropdown items height consistency (#4488)

Oleg Isonen2f15c2130ecc
diff --git a/apps/builder/app/builder/features/style-panel/controls/menu/menu-control.tsx b/apps/builder/app/builder/features/style-panel/controls/menu/menu-control.tsx
index 1bd9614ba9..6f67d193a3 100644
--- a/apps/builder/app/builder/features/style-panel/controls/menu/menu-control.tsx
+++ b/apps/builder/app/builder/features/style-panel/controls/menu/menu-control.tsx
@@ -102,17 +102,19 @@ export const MenuControl = ({
setDescriptionValue(undefined);
}}
>
- <Flex
- css={{
- width: theme.spacing[11],
- height: theme.spacing[11],
- }}
- align="center"
- justify="center"
- >
- <Icon />
+ <Flex gap="1">
+ <Flex
+ css={{
+ width: theme.spacing[9],
+ height: theme.spacing[9],
+ }}
+ align="center"
+ justify="center"
+ >
+ <Icon />
+ </Flex>
+ {label}
</Flex>
- {label}
</DropdownMenuRadioItem>
);
})}