Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix: word break in card descriptions && image mock url(DX-1996) (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninabondar authored Jun 27, 2024
1 parent 6805f82 commit 6daa566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-chat/src/components/Card/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const Description = styled(tag('p', 'description'), {
typo: { size: '$1' },
color: '$darkGrey',
whiteSpace: 'normal',
wordBreak: 'break-all',
wordBreak: 'break-word',
});

export const Link = styled(tag('a', 'link'), {
Expand Down
3 changes: 1 addition & 2 deletions packages/react-chat/src/fixtures.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export const VF_ICON = 'https://cm4-production-assets.s3.amazonaws.com/1668625026913-vf-icon.png';

export const MOCK_IMAGE_ID = 'Mg2Zmw4rtoI';
export const MOCK_IMAGE = `https://source.unsplash.com/${MOCK_IMAGE_ID}/248x150`;
export const MOCK_IMAGE = 'https://picsum.photos/seed/9/300/200';

0 comments on commit 6daa566

Please sign in to comment.