diff --git a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx index 8f0edac2e1..80fd485cec 100644 --- a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx +++ b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx @@ -30,6 +30,8 @@ interface BlockEditorProps { // oxlint-disable-next-line twenty/no-hardcoded-colors const StyledEditor = styled.div` + max-width: 100%; + min-width: 0; width: 100%; & .editor { @@ -76,6 +78,15 @@ const StyledEditor = styled.div` padding-inline: 0px; } + & .bn-block-content { + min-width: 0; + } + + & .bn-block-content, + & .bn-inline-content { + overflow-wrap: anywhere; + } + & .bn-inline-content { width: 100%; }