diff --git a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemCommand.tsx b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemCommand.tsx index 410965ce937a..329909517a09 100644 --- a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemCommand.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemCommand.tsx @@ -98,9 +98,7 @@ export const MenuItemCommand = ({ )} - - {text} - + {text} {!isMobile && ( {avatar} - + diff --git a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx index cbc748e1f99f..8f143c0441e6 100644 --- a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectAvatar.tsx @@ -46,7 +46,7 @@ export const MenuItemSelectAvatar = ({ > {avatar} - + diff --git a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectColor.tsx b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectColor.tsx index 60f2f81ff50e..b3c320d31649 100644 --- a/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectColor.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/components/MenuItemSelectColor.tsx @@ -53,9 +53,7 @@ export const MenuItemSelectColor = ({ > - - {colorLabels[color]} - + {colorLabels[color]} {selected && } diff --git a/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx b/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx index 80c45df70555..a67d60073a5b 100644 --- a/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/internals/components/MenuItemLeftContent.tsx @@ -71,7 +71,7 @@ export const MenuItemLeftContent = ({ {LeftIcon && ( )} - + {isString(text) ? ( diff --git a/packages/twenty-ui/src/navigation/menu-item/internals/components/StyledMenuItemBase.tsx b/packages/twenty-ui/src/navigation/menu-item/internals/components/StyledMenuItemBase.tsx index b713e5b72d50..143fb11329b3 100644 --- a/packages/twenty-ui/src/navigation/menu-item/internals/components/StyledMenuItemBase.tsx +++ b/packages/twenty-ui/src/navigation/menu-item/internals/components/StyledMenuItemBase.tsx @@ -68,15 +68,13 @@ export const StyledMenuItemBase = styled.div` width: calc(100% - 2 * var(--horizontal-padding)); `; -export const StyledMenuItemLabel = styled.div<{ hasLeftIcon: boolean }>` +export const StyledMenuItemLabel = styled.div` display: flex; flex-direction: row; font-size: ${({ theme }) => theme.font.size.md}; font-weight: ${({ theme }) => theme.font.weight.regular}; overflow: hidden; - padding-left: ${({ theme, hasLeftIcon }) => - hasLeftIcon ? '' : theme.spacing(1)}; white-space: nowrap; `;