Skip to content

The open alternative to Salesforce, designed for AI.

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

Sanskar Shukla150c3263693b
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 272c9b6e43b..c0689304e88 100644
--- a/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx
+++ b/packages/twenty-front/src/modules/blocknote-editor/components/BlockEditor.tsx
@@ -136,7 +136,7 @@ const StyledEditor = styled.div`
}
& .bn-mantine .bn-panel {
- width: 100cqi;
+ width: min(500px, 100cqi);
}
`;