From 9b3195753f5a50c67bb01d0f34d041b05e590a2d Mon Sep 17 00:00:00 2001 From: Vardhaman Bhandari Date: Sun, 29 Sep 2024 14:11:11 +0530 Subject: [PATCH] Fix icon resizing issue for Notes and Tasks --- packages/twenty-ui/src/display/chip/components/Chip.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/twenty-ui/src/display/chip/components/Chip.tsx b/packages/twenty-ui/src/display/chip/components/Chip.tsx index 02d7e2e61309..8ff16e9a9db1 100644 --- a/packages/twenty-ui/src/display/chip/components/Chip.tsx +++ b/packages/twenty-ui/src/display/chip/components/Chip.tsx @@ -111,6 +111,10 @@ const StyledContainer = withTheme(styled.div< border-radius: ${({ theme, variant }) => variant === ChipVariant.Rounded ? '50px' : theme.border.radius.sm}; + + & > svg { + flex-shrink: 0; + } `); export const Chip = ({