Skip to content

Commit ef95abb

Browse files
committed
Inline code elements should wrap.
1 parent 7bb641e commit ef95abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

next/typography.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ module.exports = ({ theme }) => ({
308308
boxShadow: 'inset 0 0 0 1px var(--tw-prose-code-ring)',
309309
backgroundColor: 'var(--tw-prose-code-bg)',
310310
fontSize: theme('fontSize.2xs'),
311+
overflowWrap: 'break-word',
311312
},
312313
':is(a, h1, h2, h3, blockquote, thead th) code': {
313314
color: 'inherit',

0 commit comments

Comments
 (0)