mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +03:00
parent
aa2596c572
commit
18846885cd
@ -31,11 +31,12 @@ const StyledMenuIconItemsContainer = styled.div`
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: ${({ theme }) => theme.spacing(0.5)};
|
||||
`;
|
||||
|
||||
const StyledLightIconButton = styled(LightIconButton)<{ isSelected?: boolean }>`
|
||||
background: ${({ theme, isSelected }) =>
|
||||
isSelected ? theme.background.transparent.light : 'transparent'};
|
||||
isSelected ? theme.background.transparent.medium : 'transparent'};
|
||||
`;
|
||||
|
||||
const convertIconKeyToLabel = (iconKey: string) =>
|
||||
@ -84,9 +85,9 @@ export const IconPicker = ({
|
||||
variant={variant}
|
||||
/>
|
||||
}
|
||||
dropdownMenuWidth={168}
|
||||
dropdownMenuWidth={176}
|
||||
dropdownComponents={
|
||||
<DropdownMenu width={168}>
|
||||
<DropdownMenu width={176}>
|
||||
<DropdownMenuSearchInput
|
||||
placeholder="Search icon"
|
||||
autoFocus
|
||||
|
Loading…
Reference in New Issue
Block a user