fix(09-01): sticky prepare panel, bg-gray-50 background, max-height scroll
This commit is contained in:
@@ -130,7 +130,7 @@ export function PreparePanel({ docId, defaultEmail, clientName, currentStatus, a
|
||||
}
|
||||
|
||||
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>
|
||||
|
||||
<div>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default async function DocumentPage({
|
||||
<div className="lg:col-span-2">
|
||||
<PdfViewerWrapper docId={docId} docStatus={doc.status} />
|
||||
</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
|
||||
docId={docId}
|
||||
defaultEmail={docClient?.email ?? ''}
|
||||
|
||||
Reference in New Issue
Block a user