mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +00:00
Fix icon resizing issue for Notes and Tasks (#7318)
This pull request addresses a [resizing issue with the Notes and Tasks icons](https://github.com/twentyhq/twenty/issues/7282). Previously, the icons would change size based on the length of the title or when the column width was adjusted, leading to inconsistent UI behavior. This update ensures that the icons maintain a stable size, enhancing the overall user experience. Solves Issue : #7282 [twenty-icon-sizing-issue.webm](https://github.com/user-attachments/assets/3ef59592-4dfb-463e-bc7b-a803ee105211)
This commit is contained in:
committed by
GitHub
parent
eb04925f06
commit
04adcbc521
@@ -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 = ({
|
||||
|
||||
Reference in New Issue
Block a user