Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(settings): remove redundant card wrapper from settings layout

Steven Enamakelc3bdc2f7ceb0
diff --git a/app/src/components/settings/layout/SettingsLayout.tsx b/app/src/components/settings/layout/SettingsLayout.tsx
index 64464d9ea1..7cd5998f0d 100644
--- a/app/src/components/settings/layout/SettingsLayout.tsx
+++ b/app/src/components/settings/layout/SettingsLayout.tsx
@@ -25,11 +25,16 @@ const SettingsLayout = () => {
</div>
</SidebarContent>
{/* Bounded flex column: the routed panel owns the only vertical scroll
- (its WrappedSettingsPage / PanelScaffold) and renders its own header
- (title, description, sibling sub-nav). The panel is wrapped in a card
- so settings pages get a surface/background instead of sitting flush. */}
- <div className="mx-auto flex h-full min-h-0 w-full max-w-5xl flex-col p-4">
- <div className="min-h-0 flex-1 overflow-hidden rounded-2xl border border-line bg-surface shadow-soft">
+ and renders its own header (title, description, sibling sub-nav).
+
+ It renders flush, NOT inside a card. The panel used to sit on its own
+ `rounded-2xl border bg-surface shadow-soft` sheet, which put a second
+ bordered container inside the shell's content surface — a card on a
+ card, with the page's own header and full-bleed divider inside the
+ inner one. The shell already provides the surface; every other routed
+ page uses it directly, and settings does now too. */}
+ <div className="mx-auto flex h-full min-h-0 w-full max-w-5xl flex-col">
+ <div className="min-h-0 flex-1 overflow-hidden">
<Outlet />
</div>
</div>