Skip to content

The open alternative to Salesforce, designed for AI.

fix: prevent image upload panel from being clipped in side panel (#19572)

BugIsGodc73cdd08440d
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 9b70cf24522..272c9b6e43b 100644
--- a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx
+++ b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx
@@ -130,6 +130,14 @@ const StyledEditor = styled.div`
font-size: 0.9rem;
padding: 2px 4px;
}
+
+ & .bn-mantine {
+ container-type: inline-size;
+ }
+
+ & .bn-mantine .bn-panel {
+ width: 100cqi;
+ }
`;
export const BlockEditor = ({