diff --git a/code/core/src/manager/components/layout/Layout.tsx b/code/core/src/manager/components/layout/Layout.tsx index be3f3ee054de..4398df3c5c89 100644 --- a/code/core/src/manager/components/layout/Layout.tsx +++ b/code/core/src/manager/components/layout/Layout.tsx @@ -169,39 +169,35 @@ export const Layout = ({ managerLayoutState, setManagerLayoutState, hasTab, ...s showPanel={showPanel} > {showPages && {slots.slotPages}} - {isDesktop && ( - <> + <> + {isDesktop && ( {slots.slotSidebar} - - {slots.slotMain} - - {showPanel && ( - - - {slots.slotPanel} - - )} - - )} - - {isMobile && ( - <> + )} + {isMobile && ( - {slots.slotMain} - - - )} + )} + + {slots.slotMain} + + {isDesktop && showPanel && ( + + + {slots.slotPanel} + + )} + {isMobile && } + ); };