Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

chore: set max width for settings related pages (#229)

sayan-truefoundrybf4422b5aba1
diff --git a/packages/trueforge-ui-sdk/src/containers/SettingsBuilder/index.tsx b/packages/trueforge-ui-sdk/src/containers/SettingsBuilder/index.tsx
index e418e3d04..5641b09aa 100644
--- a/packages/trueforge-ui-sdk/src/containers/SettingsBuilder/index.tsx
+++ b/packages/trueforge-ui-sdk/src/containers/SettingsBuilder/index.tsx
@@ -132,13 +132,15 @@ const TruefoundrySettingsBuilder = () => {
))}
</nav>
- <section className="flex h-full flex-1 flex-col overflow-y-hidden px-6 py-4">
- <Suspense fallback={<SettingsSectionFallback />}>
- {section === 'models' ? <ModelSettings /> : null}
- {section === 'connectors' ? <ConnectorSettings /> : null}
- {section === 'skills' && hasSkills ? <SkillSettings /> : null}
- {section === 'sandbox' && hasSandbox ? <SandboxSettings /> : null}
- </Suspense>
+ <section className="flex flex-col h-full flex-1 overflow-y-hidden px-6 py-4">
+ <div className="w-full max-w-210 h-full min-h-0 flex flex-col mx-auto">
+ <Suspense fallback={<SettingsSectionFallback />}>
+ {section === 'models' ? <ModelSettings /> : null}
+ {section === 'connectors' ? <ConnectorSettings /> : null}
+ {section === 'skills' && hasSkills ? <SkillSettings /> : null}
+ {section === 'sandbox' && hasSandbox ? <SandboxSettings /> : null}
+ </Suspense>
+ </div>
</section>
</div>
</div>