Skip to content

Improvement: Standardize settings page content width to max-w-3xl #2567

Closed

Description

@yannickmonney

Problem

Agent settings tabs and org settings pages use inconsistent content widths. Some tabs are capped at 544px (narrow), others use max-w-3xl (~768px), and the webhook tab uses full page width. The result is a mix of centered narrow columns and wider layouts that feel misaligned across settings surfaces.

Current behaviour

  • ContentArea variant="narrow" = max-w-[544px] (services/platform/app/components/layout/content-area.tsx)
  • Agent tabs on narrow (544px): General, Instructions, Skills, Knowledge (index.tsx, instructions.tsx, skills.tsx, agent-knowledge.tsx)
  • Agent tabs on max-w-3xl: Tools, Conversation Starters, Environment (tools.tsx, conversation-starters.tsx, environment.tsx)
  • Agent Webhooks: full-width ContentArea variant="page" (agent-webhook-section.tsx)
  • Org settings: full-width shell with section prose capped at max-w-2xl (settings.tsx, settings-section.tsx, settings-row.tsx)

Tools and Starters are the reference width — they left-align content at max-w-3xl and give tables/pickers enough room.

Related: #2378 (closed — webhook tab was widened from narrow; this issue standardises the whole settings family on one width).

Proposed change

Use the Tools / Starters layout (mx-auto max-w-3xl px-4 py-4, left-aligned) as the single content width for:

  • All agent settings tabs (General, Instructions, Skills, Knowledge, Tools, Starters, Environment, Webhooks)
  • Org settings and other dashboard settings pages that still use narrow or inconsistent caps

Remove variant="narrow" (544px) from settings surfaces unless a specific prose-only block genuinely needs a shorter measure. Tables, pickers, and form sections should share the same max width.

Acceptance criteria

  • Every agent settings tab uses the same max-w-3xl content width as Tools and Starters.
  • Org settings pages use the same max width and left alignment — no centred 544px columns.
  • Webhook tables and other wide content fit within the standard width without a separate full-width exception.
  • No settings page regresses to a narrower container than max-w-3xl without an explicit, documented reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions