Skip to content

The open alternative to Salesforce, designed for AI.

Fix double highlight on view picker rows (#27816)

Thomas des Francsecd4ca356932
diff --git a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx
index 7fc9e3c55e5..3a1e67e9d7f 100644
--- a/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx
+++ b/packages/twenty-front/src/modules/ui/navigation/menu-item/components/MenuItemWithOptionDropdown.tsx
@@ -51,10 +51,12 @@ const StyledMenuItemContainer = styled.div<{
`;
const StyledPrimaryListItem = styled(ListItem)`
- background: transparent;
- flex: 1;
- min-width: 0;
- padding-inline: 0;
+ && {
+ background: transparent;
+ flex: 1;
+ min-width: 0;
+ padding-inline: 0;
+ }
`;
export const MenuItemWithOptionDropdown = ({