Skip to content

The open alternative to Salesforce, designed for AI.

Fix: Make DropdownMenuSeparator background transparent based on theme (#9037)

Murali Singh36bec4ed8b1b
diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSeparator.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSeparator.tsx
index f2599f103c4..77fe462a93f 100644
--- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSeparator.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuSeparator.tsx
@@ -1,9 +1,11 @@
import styled from '@emotion/styled';
const StyledDropdownMenuSeparator = styled.div`
- background-color: ${({ theme }) => theme.border.color.light};
+ background-color: ${({ theme }) =>
+ theme.name === 'dark'
+ ? theme.background.transparent.light
+ : theme.border.color.light};
min-height: 1px;
-
width: 100%;
`;