Skip to content

Commit c9939c3

Browse files
committed
break-all works better for normal text flow
1 parent 818c595 commit c9939c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/styles/base/my-prose.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
@apply prose-h1:font-bold;
1515

1616
/* a */
17-
@apply prose-a:link prose-a:break-words;
17+
@apply prose-a:link prose-a:break-all;
1818

19-
/* break-words in <a /> and <code /> prevents overflow and horizontal scroll on <body /> in mdx */
19+
/* break-all in <a /> and <code /> prevents overflow and horizontal scroll on <body /> in mdx */
2020

2121
/* code */
22-
@apply prose-code:break-words;
22+
@apply prose-code:break-all;
2323

2424
/* image */
2525
@apply prose-img:rounded-button;

0 commit comments

Comments
 (0)