Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Refactor: Adjust margin conditionally in RootLayout component

Salman-Ahamede9a4f046df01
diff --git a/packages/app/src/react/shared/components/layouts/RootLayout.tsx b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
index 884dffee..2f7001f8 100644
--- a/packages/app/src/react/shared/components/layouts/RootLayout.tsx
+++ b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
@@ -118,7 +118,8 @@ export const RootLayout = ({
{sidebar && <SidebarWithErrorBoundary />}
<main
className={classNames(
- 'relative flex flex-1 flex-col min-w-0 transition-all duration-300 mt-2.5 ml-0 mb-0',
+ 'relative flex flex-1 flex-col min-w-0 transition-all duration-300 ml-0 mb-0',
+ !isWelcomePage && 'mt-2.5',
)}
>
{useFullWidthLayout ? (