Skip to content

Commit 3cd3f76

Browse files
committed
feat: Add word break properties to link text for better overflow handling
1 parent ab8398a commit 3cd3f76

File tree

1 file changed

+2
-0
lines changed
  • packages/notion-to-jsx/src/components/Renderer/components/RichText

1 file changed

+2
-0
lines changed

packages/notion-to-jsx/src/components/Renderer/components/RichText/styles.css.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,6 @@ export const richText = recipe({
9090
export const link = style({
9191
color: 'inherit',
9292
textDecoration: 'underline',
93+
wordBreak: 'break-word',
94+
overflowWrap: 'break-word',
9395
});

0 commit comments

Comments
 (0)