Skip to content

The open alternative to Salesforce, designed for AI.

Update menu title font size based on whether or not it's clickable (#8354)

khuddite5a293b8d6066
diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader.tsx
index 6356bbdd48f..78b192c79f5 100644
--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuHeader.tsx
@@ -8,7 +8,8 @@ const StyledHeader = styled.li`
color: ${({ theme }) => theme.font.color.primary};
cursor: ${({ onClick }) => (onClick ? 'pointer' : 'default')};
display: flex;
- font-size: ${({ theme }) => theme.font.size.sm};
+ font-size: ${({ theme, onClick }) =>
+ onClick ? theme.font.size.sm : theme.font.size.md};
font-weight: ${({ theme }) => theme.font.weight.medium};
border-top-left-radius: ${({ theme }) => theme.border.radius.sm};
border-top-right-radius: ${({ theme }) => theme.border.radius.sm};