From 31990274c629b638b743cf91411dd70e82b0ae4d Mon Sep 17 00:00:00 2001 From: Lukas Jakob Date: Wed, 26 Apr 2023 07:55:32 -0500 Subject: [PATCH 1/3] feat: shrink receiver box --- src/app/components/PublisherCard/index.tsx | 4 ++-- src/app/screens/LNURLPay/index.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/components/PublisherCard/index.tsx b/src/app/components/PublisherCard/index.tsx index 5247ef78f1..a15902e0dd 100644 --- a/src/app/components/PublisherCard/index.tsx +++ b/src/app/components/PublisherCard/index.tsx @@ -32,7 +32,7 @@ export default function PublisherCard({ className={classNames( isSmall ? "p-2" : "flex-col justify-center p-4", isCard && "drop-shadow rounded-lg mt-4", - !image && "h-24", + !image && "h-16", "flex items-center bg-white dark:bg-surface-02dp" )} > @@ -54,7 +54,7 @@ export default function PublisherCard({ className={ "flex flex-col overflow-hidden w-full " + (isSmall ? "" : "text-center ") + - (isSmall && !image && "ml-4") + (isSmall && !image && "ml-1") } >

+
{showNameField() && (
)} - +
)} -
+
Date: Wed, 26 Apr 2023 09:12:48 -0500 Subject: [PATCH 2/3] feat: shrink receiver box with image styles --- src/app/components/PublisherCard/index.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/components/PublisherCard/index.tsx b/src/app/components/PublisherCard/index.tsx index a15902e0dd..7e824fcb92 100644 --- a/src/app/components/PublisherCard/index.tsx +++ b/src/app/components/PublisherCard/index.tsx @@ -38,8 +38,8 @@ export default function PublisherCard({ > {image && ( {`${title} {title} @@ -80,7 +80,10 @@ export default function PublisherCard({ {!url && description && (

{description}

From 50a381e775779c68d1a7688a185d3cd9f4e53be1 Mon Sep 17 00:00:00 2001 From: Lukas Jakob Date: Wed, 26 Apr 2023 09:52:17 -0500 Subject: [PATCH 3/3] feat: shrink receiver box change rounded image styles --- src/app/components/PublisherCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/PublisherCard/index.tsx b/src/app/components/PublisherCard/index.tsx index 7e824fcb92..b927eab78e 100644 --- a/src/app/components/PublisherCard/index.tsx +++ b/src/app/components/PublisherCard/index.tsx @@ -38,7 +38,7 @@ export default function PublisherCard({ > {image && (