From 689ae0c701c052abe11c586ce2035d3a25afe04f Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 11 Jan 2023 20:08:15 +0100 Subject: [PATCH] fix: top and bottom padding of small preview card on mobile (#974) --- components/status/StatusPreviewCard.vue | 6 +++--- components/status/StatusPreviewCardInfo.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/status/StatusPreviewCard.vue b/components/status/StatusPreviewCard.vue index ba32154d..94192428 100644 --- a/components/status/StatusPreviewCard.vue +++ b/components/status/StatusPreviewCard.vue @@ -54,7 +54,7 @@ const cardTypeIconMap: Record = { flex flex-col display-block of-hidden :class="{ - 'sm:(min-w-32 w-32 h-32) min-w-22 w-22 h-22': isSquare, + 'sm:(min-w-32 w-32 h-32) min-w-24 w-24 h-24': isSquare, 'w-full aspect-[1.91]': !isSquare, 'rounded-lg': root, }" @@ -70,13 +70,13 @@ const cardTypeIconMap: Record = {
- + diff --git a/components/status/StatusPreviewCardInfo.vue b/components/status/StatusPreviewCardInfo.vue index 0da9a402..1ebf6973 100644 --- a/components/status/StatusPreviewCardInfo.vue +++ b/components/status/StatusPreviewCardInfo.vue @@ -12,12 +12,12 @@ defineProps<{