The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
Optimising for mobile
litaesther104710176f78cd
diff --git a/apps/web/pages/documents/[id]/recipients.tsx b/apps/web/pages/documents/[id]/recipients.tsxindex 540a658af..73982450d 100644--- a/apps/web/pages/documents/[id]/recipients.tsx+++ b/apps/web/pages/documents/[id]/recipients.tsx@@ -90,12 +90,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {<Breadcrumb document={props.document} items={breadcrumbItems} /></div><div className="mt-2 md:flex md:items-center md:justify-between">- <div className="min-w-0 flex-1">+ <div className="flex-1 min-w-0"><h2 className="text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight">{props.document.title}</h2></div>- <div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">+ <div className="flex flex-shrink-0 mt-4 md:mt-0 md:ml-4"><Buttonicon={PencilSquareIcon}color="secondary"@@ -132,12 +132,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {</Button></div></div>- <div className="overflow-hidden rounded-md bg-white shadow mt-10 p-6">- <div className="border-b border-gray-200 pb-5">+ <div className="p-6 mt-10 overflow-hidden bg-white rounded-md shadow">+ <div className="pb-5 border-b border-gray-200"><h3 className="text-lg font-medium leading-6 text-gray-900">Signers</h3>- <p className="mt-2 max-w-4xl text-sm text-gray-500">+ <p className="max-w-4xl mt-2 text-sm text-gray-500">The people who will sign the document.</p></div>@@ -151,7 +151,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {{fields.map((item: any, index: number) => (<likey={index}- className="px-0 py-4 w-full hover:bg-green-50 border-0 group"+ className="w-full px-0 py-4 border-0 hover:bg-green-50 group"><div id="container" className="flex w-full"><div@@ -188,7 +188,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {documentId: props.document.id,});}}- className="block w-full border-0 p-0 text-gray-900 placeholder-gray-500 sm:text-sm outline-none bg-inherit"+ className="block w-full p-0 text-gray-900 placeholder-gray-500 border-0 outline-none sm:text-sm bg-inherit"placeholder="[email protected]"/>{errors?.signers?.[index] ? (@@ -236,11 +236,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {documentId: props.document.id,});}}- className="block w-full border-0 p-0 text-gray-900 placeholder-gray-500 sm:text-sm outline-none bg-inherit"+ className="block w-full p-0 text-gray-900 placeholder-gray-500 border-0 outline-none sm:text-sm bg-inherit"placeholder="John Dorian"/></div>- <div className="ml-auto flex">+ <div className="flex ml-auto"><div key={item.id}>{item.sendStatus === "NOT_SENT" ? (<span@@ -296,7 +296,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {)}</div></div>- <div className="ml-auto flex mr-1">+ <div className="flex ml-auto mr-1"><IconButtonicon={PaperAirplaneIcon}disabled={@@ -306,7 +306,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {loading}color="secondary"- className="mr-4 h-9 my-auto"+ className="my-auto mr-4 h-9"onClick={() => {if (confirm("Resend this signing request?")) {setLoading(true);@@ -370,11 +370,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {leaveFrom="opacity-100"leaveTo="opacity-0">- <div className="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" />+ <div className="fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75" /></Transition.Child><div className="fixed inset-0 z-10 overflow-y-auto">- <div className="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0">+ <div className="flex items-end justify-center min-h-full p-4 text-center sm:items-center sm:p-0"><Transition.Childas={Fragment}enter="ease-out duration-300"@@ -384,11 +384,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {leaveFrom="opacity-100 translate-y-0 sm:scale-100"leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95">- <Dialog.Panel className="relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6">+ <Dialog.Panel className="relative px-4 pt-5 pb-4 overflow-hidden text-left transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"><div>- <div className="mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-green-100">+ <div className="flex items-center justify-center w-12 h-12 mx-auto bg-green-100 rounded-full"><EnvelopeIcon- className="h-6 w-6 text-green-600"+ className="w-6 h-6 text-green-600"aria-hidden="true"/></div>@@ -410,7 +410,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {</div></div></div>- <div className="mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3">+ <div className="flex justify-end gap-3 mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:flex-none sm:jus"><Button color="secondary" onClick={() => setOpen(false)}>Cancel</Button>