From 68f783b1f867b7188210a3cca74a26123ae97654 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 27 Dec 2024 20:58:39 -0500 Subject: [PATCH] Fix header card sizing --- dashboard/src/components/dashboard/MetaCampaigns.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dashboard/src/components/dashboard/MetaCampaigns.jsx b/dashboard/src/components/dashboard/MetaCampaigns.jsx index 2e6ce10..b55c682 100644 --- a/dashboard/src/components/dashboard/MetaCampaigns.jsx +++ b/dashboard/src/components/dashboard/MetaCampaigns.jsx @@ -67,15 +67,15 @@ const summaryCard = (label, value, options = {}) => { } return ( - - + +
-
+

{label}

{displayValue}

{Icon && ( - + )}
@@ -429,7 +429,7 @@ const MetaCampaigns = () => {
-
+
{[ { label: "Active Campaigns", @@ -492,7 +492,7 @@ const MetaCampaigns = () => { options: { isMonetary: true, decimalPlaces: 0, icon: DollarSign, iconColor: "text-lime-500" }, }, ].map((card) => ( -
+
{summaryCard(card.label, card.value, card.options)}
))}