From 4710176f78cd44006ddb608a0490b45d10b04c1a Mon Sep 17 00:00:00 2001 From: litaesther10 Date: Tue, 21 Mar 2023 15:03:59 +0100 Subject: [PATCH 1/2] Optimising for mobile --- apps/web/pages/documents/[id]/recipients.tsx | 34 ++++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/apps/web/pages/documents/[id]/recipients.tsx b/apps/web/pages/documents/[id]/recipients.tsx index 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) => {
-
+

{props.document.title}

-
+
-
-
+
+

Signers

-

+

The people who will sign the document.

@@ -151,7 +151,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => { {fields.map((item: any, index: number) => (
  • { 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@loremipsum.com" /> {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" />
    -
    +
    {item.sendStatus === "NOT_SENT" ? ( { )}
    -
    +
    { 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" > -
    +
    -
    +
    { leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
    -
    +
    @@ -410,7 +410,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
    -
    +
    From 3dfa8fc5973152bd863814d5ba25187ab58e489d Mon Sep 17 00:00:00 2001 From: litaesther10 Date: Tue, 21 Mar 2023 18:11:55 +0100 Subject: [PATCH 2/2] Fixed broken css --- apps/web/pages/documents/[id]/recipients.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/pages/documents/[id]/recipients.tsx b/apps/web/pages/documents/[id]/recipients.tsx index 8e86dcac3..6e2e767e6 100644 --- a/apps/web/pages/documents/[id]/recipients.tsx +++ b/apps/web/pages/documents/[id]/recipients.tsx @@ -415,7 +415,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
    -
    +