diff --git a/web/src/components/side-question-workspace.tsx b/web/src/components/side-question-workspace.tsx index 4ef5511..0222a0b 100644 --- a/web/src/components/side-question-workspace.tsx +++ b/web/src/components/side-question-workspace.tsx @@ -264,31 +264,32 @@ export function SideQuestionWorkspace({ mainClassName?: string; }) { const mobile = useIsMobile(); + const desktopSideOpen = side.open && side.enabled && !mobile; return ( <> - - - {children} - - {side.open && side.enabled && !mobile && ( - <> - - - - - - )} - + {desktopSideOpen ? ( + + + {children} + + + + + + + ) : ( +
{children}
+ )}