mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 22:37:15 +08:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user