mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix: improve user information requirements and template handling in resume generation tool
This commit is contained in:
parent
2f58b14440
commit
d5a1f4ac01
3 changed files with 297 additions and 63 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue