Resolved dropdown style issue (#3620)

* #3617 #3615 resolved dropdown style issue

* resolved lint error

* resolved gap issue

* resolved lint error
This commit is contained in:
Jeet Desai
2024-01-31 16:11:27 +05:30
committed by GitHub
parent c8e4d0ab9a
commit edf62f3a3b

View File

@ -4,9 +4,8 @@ const StyledDropdownMenu = styled.div<{
disableBlur?: boolean; disableBlur?: boolean;
width?: `${string}px` | 'auto' | number; width?: `${string}px` | 'auto' | number;
}>` }>`
backdrop-filter: ${({ disableBlur }) => backdrop-filter: ${({ disableBlur }) => (disableBlur ? 'none' : 'blur(8px)')};
disableBlur ? 'none' : 'blur(20px)'}; background: ${({ theme }) => theme.background.transparent.secondary};
background: ${({ theme }) => theme.background.secondary};
border: 1px solid ${({ theme }) => theme.border.color.medium}; border: 1px solid ${({ theme }) => theme.border.color.medium};
border-radius: ${({ theme }) => theme.border.radius.md}; border-radius: ${({ theme }) => theme.border.radius.md};