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.

fix bg color agents page

Ahmed Essamcc117ea9218f
diff --git a/packages/app/src/react/shared/components/layouts/RootLayout.tsx b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
index ca2e6ddf..978c0301 100644
--- a/packages/app/src/react/shared/components/layouts/RootLayout.tsx
+++ b/packages/app/src/react/shared/components/layouts/RootLayout.tsx
@@ -14,7 +14,6 @@ interface IRootLayoutProps {
container?: boolean;
noScroll?: boolean;
useFullWidthLayout?: boolean;
- background?: 'white' | 'agentsGradient';
};
isWelcomePage?: boolean;
isAcceptInvitationPage?: boolean;
@@ -33,7 +32,6 @@ export const RootLayout = ({
container = true,
noScroll = false,
useFullWidthLayout = false,
- background = 'white',
} = layoutOptions;
const { loading } = useAuthCtx();
const [hasScrollbar, setHasScrollbar] = useState<boolean>(false);
@@ -126,22 +124,12 @@ export const RootLayout = ({
{useFullWidthLayout ? (
<div
className={classNames(
- 'absolute top-[-12px] left-0 h-[calc(100%+3rem)] w-[100%] rounded-none',
- {
- 'bg-white': background === 'white',
- 'bg-agents-gradient': background === 'agentsGradient',
- },
- )}
+ 'absolute top-[-12px] left-0 h-[calc(100%+3rem)] w-[100%] rounded-none bg-[#FFF]')}
></div>
) : (
<div
className={classNames(
- 'absolute top-1 h-full ml-16 md:ml-auto w-[calc(100%-4.5rem)] md:w-[calc(100%-0.75rem)] rounded-t-lg border border-solid border-[#D1D1D1]',
- {
- 'bg-white': background === 'white',
- 'bg-agents-gradient': background === 'agentsGradient',
- },
- )}
+ 'absolute top-1 h-full ml-16 md:ml-auto w-[calc(100%-4.5rem)] md:w-[calc(100%-0.75rem)] rounded-t-lg border border-solid border-[#D1D1D1] bg-[#FFF]')}
></div>
)}
<Suspense