Fix links chip design (#5963)

Fix https://github.com/twentyhq/twenty/issues/5938 and
https://github.com/twentyhq/twenty/issues/5655

- Make sure chip count is displayed
- Fix padding
- Fix background colors, border
- Add hover and active states

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Thomas Trompette
2024-06-21 16:15:17 +02:00
committed by GitHub
parent 732653034e
commit 9a4a2e4ca9
2 changed files with 37 additions and 12 deletions

View File

@ -59,7 +59,7 @@ export const LinksDisplay = ({ value, isFocused }: LinksDisplayProps) => {
);
return isFocused ? (
<ExpandableList isChipCountDisplayed={isFocused}>
<ExpandableList isChipCountDisplayed>
{links.map(({ url, label, type }, index) =>
type === LinkType.LinkedIn || type === LinkType.Twitter ? (
<SocialLink key={index} href={url} type={type} label={label} />