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