diff --git a/src/common/layout/optima/portals/OptimaPortalsIn.tsx b/src/common/layout/optima/portals/OptimaPortalsIn.tsx index e2c1686f3..1f4659d4c 100644 --- a/src/common/layout/optima/portals/OptimaPortalsIn.tsx +++ b/src/common/layout/optima/portals/OptimaPortalsIn.tsx @@ -13,9 +13,10 @@ const drawerWrapperStyle = { } as const; const panelWrapperStyle = { - ...drawerWrapperStyle, - // replicates PanelContentPortal.portalContentSx.gap, as we have added a div which deletes the gap flex: 1, + ...drawerWrapperStyle, + + // replicates PanelContentPortal.portalContentSx.gap, as we have added a div which deletes the gap gap: `${OPTIMA_PANEL_GROUPS_SPACING / 2}rem`, // } as const; @@ -28,6 +29,7 @@ export function OptimaDrawerIn(props: { children: React.ReactNode }) { const { peekDrawerEnter, peekDrawerLeave } = optimaActions(); return createPortal(