Skip to content

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

chore(settings): update persona panel

Steven Enamakel7b9fcf50d808
diff --git a/app/src/components/settings/panels/PersonaPanel.tsx b/app/src/components/settings/panels/PersonaPanel.tsx
index e6fd679632..0d632575f0 100644
--- a/app/src/components/settings/panels/PersonaPanel.tsx
+++ b/app/src/components/settings/panels/PersonaPanel.tsx
@@ -298,8 +298,10 @@ const PersonaPanel = ({ embedded = false }: PersonaPanelProps) => {
);
// Embedded inside the tabbed Personality & Face page: the parent owns the
- // header, so render just the padded body.
- if (embedded) return <div className="p-4 pt-2 space-y-5">{body}</div>;
+ // header AND the page gutter (`SettingsPanel` supplies `p-4` now), so this
+ // renders the body flush — a `p-4` here would indent it twice, and the
+ // sibling Face tab (MascotPanel) is already flush.
+ if (embedded) return <div className="space-y-5">{body}</div>;
return <SettingsPanel>{body}</SettingsPanel>;
};