Skip to content

The open alternative to Salesforce, designed for AI.

Fix oversized icon in side panel switch rows (#27869)

Félix Malfaitc5af4058a5cc
diff --git a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx
index 1fb27c75907..5d21e04eb60 100644
--- a/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx
+++ b/packages/twenty-front/src/modules/command-menu/components/CommandMenuItemSwitch.tsx
@@ -26,9 +26,9 @@ const StyledIconContainer = styled.span`
padding: ${themeCssVariables.spacing[1]};
svg {
- height: ${themeCssVariables.icon.size.md}px;
+ height: calc(${themeCssVariables.icon.size.md} * 1px);
stroke-width: ${themeCssVariables.icon.stroke.sm};
- width: ${themeCssVariables.icon.size.md}px;
+ width: calc(${themeCssVariables.icon.size.md} * 1px);
}
`;