diff --git a/packages/twenty-front/src/modules/side-panel/pages/rich-text-page/components/SidePanelEditRichTextPage.tsx b/packages/twenty-front/src/modules/side-panel/pages/rich-text-page/components/SidePanelEditRichTextPage.tsx index c7de651251f..be8c96f5e7c 100644 --- a/packages/twenty-front/src/modules/side-panel/pages/rich-text-page/components/SidePanelEditRichTextPage.tsx +++ b/packages/twenty-front/src/modules/side-panel/pages/rich-text-page/components/SidePanelEditRichTextPage.tsx @@ -22,8 +22,16 @@ const RichTextFieldEditor = lazy(() => ); const StyledContainer = styled.div` + display: flex; + flex-direction: column; + height: 100%; +`; + +const StyledContent = styled.div` box-sizing: border-box; + flex: 1; margin: ${themeCssVariables.spacing[4]} -8px; + overflow-y: auto; padding-inline: 44px 0px; width: 100%; `; @@ -56,20 +64,22 @@ export const SidePanelEditRichTextPage = () => { return ( - }> - {isActivityObject(objectNameSingular) ? ( - - ) : ( - - )} - + + }> + {isActivityObject(objectNameSingular) ? ( + + ) : ( + + )} + + ); };