fix(web): center the new-partner wizard content (#2856)

The step body and footer capped themselves at max-w-2xl but stayed at the
left edge of the 1180px page container, leaving a wide empty column on the
right. Other partner surfaces (archives, chat) already center their
max-w-2xl column. Wrap the step header and body in a centered max-w-2xl
column and center the Back/Next row with it.

Layout-only change.

Co-authored-by: Antonio-Faure <209759495+Antonio-Faure@users.noreply.github.com>
This commit is contained in:
Antonio-Faure
2026-11-29 07:51:44 +01:00
committed by GitHub
parent 5a1bd72ca2
commit 2df7cd1958

View File

@@ -297,8 +297,8 @@ export default function NewPartnerPage() {
{/* Step body */}
<div className="min-h-0 flex-1 overflow-y-auto">
<PageContainer key={step} className="animate-fade-in">
<PageHeader title={stepTitle[step].title} description={stepTitle[step].subtitle} />
<div className="max-w-2xl">
<div className="mx-auto w-full max-w-2xl">
<PageHeader title={stepTitle[step].title} description={stepTitle[step].subtitle} />
{step === "identity" && (
<div className="space-y-5">
@@ -487,7 +487,7 @@ export default function NewPartnerPage() {
{/* Footer actions */}
<div className="border-t border-[var(--border)]">
<PageContainer spacing="toolbar">
<div className="flex w-full max-w-2xl items-center justify-between">
<div className="mx-auto flex w-full max-w-2xl items-center justify-between">
<button
type="button"
onClick={goBack}