From 4d271a11ec326c94074e633c7e6f3206058bb86a Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 12 Jun 2026 23:08:08 -0700 Subject: [PATCH] Match verifier bio and statement editors, narrow org steps The org bio textarea now uses the same muted, borderless fill as the 'Your name' field on the identity step, starts at min-h-200, and auto-grows as the user types. The verifier statement (Milkdown) editor gets the same muted wrapper and a scoped 200px min-height so the two steps match. The bio, statement, and how-to steps drop from max-w-3xl to max-w-xl so the boxes and the tutorial's last step aren't oversized. --- src/components/OnboardingGate.tsx | 9 ++++---- src/components/onboarding/VerifierBioStep.tsx | 23 +++++++++++++++++-- .../organizations/VerifierStatementEditor.tsx | 14 ++++++++--- src/index.css | 9 ++++++++ 4 files changed, 46 insertions(+), 9 deletions(-) diff --git a/src/components/OnboardingGate.tsx b/src/components/OnboardingGate.tsx index 83aae538..dec868cd 100644 --- a/src/components/OnboardingGate.tsx +++ b/src/components/OnboardingGate.tsx @@ -423,11 +423,12 @@ function CaptiveOverlay() { key={step} className={cn( 'w-full mx-auto animate-in fade-in slide-in-from-bottom-2 duration-300', - // Bio, statement & how-to steps host a large text surface / - // markdown editor / two-column tutorial and need more room than - // the narrow base screens. + // Bio, statement & how-to steps host a text surface / markdown + // editor / tutorial and want a slightly roomier column than the + // narrow base screens — but not the full-width 3xl that left the + // text boxes and tutorial feeling oversized. step === 'orgBio' || step === 'orgStatement' || step === 'orgVerifyHowto' - ? 'max-w-3xl' + ? 'max-w-xl' : 'max-w-md', )} > diff --git a/src/components/onboarding/VerifierBioStep.tsx b/src/components/onboarding/VerifierBioStep.tsx index 12b7cc51..768e0fee 100644 --- a/src/components/onboarding/VerifierBioStep.tsx +++ b/src/components/onboarding/VerifierBioStep.tsx @@ -47,9 +47,28 @@ export function VerifierBioStep({