diff --git a/src/components/editor/MentionEditor.tsx b/src/components/editor/MentionEditor.tsx index bf09a10..85f1c36 100644 --- a/src/components/editor/MentionEditor.tsx +++ b/src/components/editor/MentionEditor.tsx @@ -875,12 +875,9 @@ export const MentionEditor = forwardRef< return (
- +
); }, diff --git a/src/index.css b/src/index.css index 023cd8e..fd0068b 100644 --- a/src/index.css +++ b/src/index.css @@ -283,6 +283,7 @@ body.animating-layout .ProseMirror { min-height: 1.25rem; line-height: 1.25rem; + width: 100%; } .ProseMirror:focus { @@ -292,6 +293,8 @@ body.animating-layout .ProseMirror p { margin: 0; line-height: 1.25rem; + word-wrap: break-word; + overflow-wrap: break-word; } .ProseMirror p.is-editor-empty:first-child::before {