diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx
index c89d80d329..803b6ff6f0 100644
--- a/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx
+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx
@@ -51,6 +51,10 @@ const StyledEditorLoader = styled.div<{
}}
`;
+const StyledCodeEditorContainer = styled.div`
+ display: contents;
+`;
+
const StyledEditor = styled(Editor)<{
variant: CodeEditorVariant;
transparentBackground?: boolean;
@@ -140,7 +144,7 @@ export const CodeEditor = ({