fix: improve user information requirements and template handling in resume generation tool

This commit is contained in:
Anish Sarkar 2026-04-16 10:29:13 +05:30
parent 2f58b14440
commit d5a1f4ac01
3 changed files with 297 additions and 63 deletions

View file

@ -109,16 +109,16 @@ export function PdfViewer({ pdfUrl }: PdfViewerProps) {
)}
{/* PDF content */}
<div ref={containerRef} className="flex-1 overflow-auto flex justify-center bg-sidebar p-0">
<div ref={containerRef} className="relative flex-1 overflow-auto flex justify-center bg-sidebar p-0">
<Document
file={pdfUrl}
onLoadSuccess={onDocumentLoadSuccess}
onLoadError={onDocumentLoadError}
options={documentOptionsRef.current}
loading={
<div className="flex items-center justify-center h-64 text-sidebar-foreground">
<Spinner size="md" />
</div>
<div className="absolute inset-0 flex items-center justify-center text-sidebar-foreground">
<Spinner size="md" />
</div>
}
>
<Page