The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
page margin
Timur Ercanf7956fa3ac08
diff --git a/apps/web/components/pdf-viewer.js b/apps/web/components/pdf-viewer.jsindex 105e36d1c..a95031f35 100644--- a/apps/web/components/pdf-viewer.js+++ b/apps/web/components/pdf-viewer.js@@ -21,22 +21,23 @@ export default function PDFViewer() {return (<>- <label htmlFor="file">Load from file:</label>{" "}- <input onChange={onFileChange} type="file" />- <Document- file={"/sample.pdf"}- onLoadSuccess={onDocumentLoadSuccess}- options={options}- >- {Array.from({ length: numPages }, (_, index) => (- <Page- key={`page_${index + 1}`}- pageNumber={index + 1}- renderAnnotationLayer={false}- renderTextLayer={false}- />- ))}- </Document>+ <div className="">+ <Document+ file={"/sample.pdf"}+ onLoadSuccess={onDocumentLoadSuccess}+ options={options}+ >+ {Array.from({ length: numPages }, (_, index) => (+ <Page+ className="mt-5"+ key={`page_${index + 1}`}+ pageNumber={index + 1}+ renderAnnotationLayer={false}+ renderTextLayer={false}+ />+ ))}+ </Document>+ </div></>);}