Skip to content

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

chore: update modal components

Steven Enamakel390be28cf5b6
diff --git a/app/src/components/channels/ChannelSetupModal.tsx b/app/src/components/channels/ChannelSetupModal.tsx
index 40809d57d9..5349968529 100644
--- a/app/src/components/channels/ChannelSetupModal.tsx
+++ b/app/src/components/channels/ChannelSetupModal.tsx
@@ -70,7 +70,7 @@ export default function ChannelSetupModal({ definition, onClose }: ChannelSetupM
titleId={titleId}
icon={renderChannelIcon(definition.icon)}
maxWidthClassName="max-w-[500px]"
- contentClassName="max-h-[70vh] overflow-y-auto p-4"
+ contentClassName="max-h-[70vh] overflow-y-auto px-5 py-4"
title={
<span className="flex items-center gap-2">
{definition.display_name}
diff --git a/app/src/components/channels/mcp/ConfigHelpModal.tsx b/app/src/components/channels/mcp/ConfigHelpModal.tsx
index 3b17ed0bdd..3ec7bfd522 100644
--- a/app/src/components/channels/mcp/ConfigHelpModal.tsx
+++ b/app/src/components/channels/mcp/ConfigHelpModal.tsx
@@ -48,7 +48,7 @@ const ConfigHelpModal = ({
titleId={titleId}
title={t('mcp.connectAuth.howToGetToken')}
maxWidthClassName="max-w-2xl"
- contentClassName="flex h-[78vh] max-h-[88vh] min-h-0 flex-col p-4">
+ contentClassName="flex h-[78vh] max-h-[88vh] min-h-0 flex-col px-5 py-4">
<ConfigAssistantPanel
qualifiedName={qualifiedName}
autoPrompt={autoPrompt}
diff --git a/app/src/components/composio/ComposioConnectModal.tsx b/app/src/components/composio/ComposioConnectModal.tsx
index ffb9829a9d..9877e3806e 100644
--- a/app/src/components/composio/ComposioConnectModal.tsx
+++ b/app/src/components/composio/ComposioConnectModal.tsx
@@ -104,7 +104,7 @@ export default function ComposioConnectModal({
subtitle={toolkit.description}
icon={toolkit.icon}
maxWidthClassName="max-w-[460px]"
- contentClassName="p-4 space-y-3">
+ contentClassName="px-5 py-4 space-y-3">
{phase === 'idle' && (
<>
<p className="text-sm text-content-secondary">
diff --git a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
index 0832cb1382..66e7bef4ca 100644
--- a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
+++ b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
@@ -249,7 +249,6 @@ export const CustomRoutingDialog = ({
// title alone drops the workload, so keep the subtitle in the name.
labelledBy="workload-routing-dialog-title workload-routing-dialog-subtitle"
onClose={onClose}
- contentClassName="px-6 py-4"
footer={
<div className="flex justify-end gap-2">
<Button type="button" variant="secondary" size="sm" onClick={onClose}>
diff --git a/app/src/components/settings/panels/cron/CronJobFormModal.tsx b/app/src/components/settings/panels/cron/CronJobFormModal.tsx
index d793ba6565..cd6671dbec 100644
--- a/app/src/components/settings/panels/cron/CronJobFormModal.tsx
+++ b/app/src/components/settings/panels/cron/CronJobFormModal.tsx
@@ -312,7 +312,7 @@ const CronJobFormModal = ({
onClose={onClose}
maxWidthClassName="max-w-lg"
panelClassName="flex max-h-[90vh] flex-col"
- contentClassName="overflow-y-auto px-6 py-4"
+ contentClassName="overflow-y-auto px-5 py-4"
footer={
<div className="flex items-center justify-end gap-3">
<Button