Skip to content

Commit

Permalink
Merge pull request #567 from awcodes/fix/word-break-overflow
Browse files Browse the repository at this point in the history
Fix: stretching editor due to word-wrap
  • Loading branch information
awcodes authored Feb 1, 2025
2 parents 11f3958 + 33613c6 commit 4a7856e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
}

.tiptap-prosemirror-wrapper {
word-break: break-all;
&.prosemirror-w-sm { padding: 0 max(theme('padding.4'), calc((100% - theme('maxWidth.sm')) / 2)); }
&.prosemirror-w-md { padding: 0 max(theme('padding.4'), calc((100% - theme('maxWidth.md')) / 2)); }
&.prosemirror-w-lg { padding: 0 max(theme('padding.4'), calc((100% - theme('maxWidth.lg')) / 2)); }
Expand Down
Loading

0 comments on commit 4a7856e

Please sign in to comment.