fix(09-01): sticky prepare panel, bg-gray-50 background, max-height scroll

This commit is contained in:
Chandler Copeland
2026-03-21 12:29:01 -06:00
parent a77a144f6f
commit 28a460e9cc
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ export function PreparePanel({ docId, defaultEmail, clientName, currentStatus, a
} }
return ( return (
<div className="rounded-lg border border-gray-200 p-4 space-y-4"> <div className="rounded-lg border border-gray-200 bg-gray-50 p-4 space-y-4">
<h2 className="font-semibold text-gray-900">Prepare Document</h2> <h2 className="font-semibold text-gray-900">Prepare Document</h2>
<div> <div>

View File

@@ -57,7 +57,7 @@ export default async function DocumentPage({
<div className="lg:col-span-2"> <div className="lg:col-span-2">
<PdfViewerWrapper docId={docId} docStatus={doc.status} /> <PdfViewerWrapper docId={docId} docStatus={doc.status} />
</div> </div>
<div className="lg:col-span-1"> <div className="lg:col-span-1 lg:sticky lg:top-6 lg:self-start lg:max-h-[calc(100vh-6rem)] lg:overflow-y-auto">
<PreparePanel <PreparePanel
docId={docId} docId={docId}
defaultEmail={docClient?.email ?? ''} defaultEmail={docClient?.email ?? ''}