fix: remove redundant resume- prefix from download filename, page spacing (#2709)

* fix: remove redundant resume- prefix from download filename

* fix: add spacing between pages in shared link view
This commit is contained in:
Jacob
2026-02-24 00:57:10 -08:00
committed by GitHub
parent 2d1e13b9b5
commit f73a5117a1
+2 -2
View File
@@ -65,7 +65,7 @@ function RouteComponent() {
const handleDownload = useCallback(async () => {
if (!resume) return;
const { url } = await printResumeAsPDF({ id: resume.id });
downloadFromUrl(url, `resume-${resume.name}.pdf`);
downloadFromUrl(url, `${resume.name}.pdf`);
}, [resume, printResumeAsPDF]);
if (!isReady) return <LoadingScreen />;
@@ -75,7 +75,7 @@ function RouteComponent() {
<div
className={cn("mx-auto max-w-[210mm]", "print:m-0 print:block print:max-w-full print:px-0", "md:my-4 md:px-4")}
>
<ResumePreview pageClassName="print:w-full! w-full max-w-full" />
<ResumePreview className="space-y-4" pageClassName="print:w-full! w-full max-w-full" />
</div>
<Button