From 4dead4b3998da629e7656b36286a3f9e79909453 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 21 Feb 2026 23:48:03 +0100 Subject: [PATCH] style: standardize gap sizes across multiple components for improved visual consistency --- app/sites/[id]/uptime/page.tsx | 2 +- app/welcome/page.tsx | 8 ++++---- components/Footer.tsx | 2 +- components/dashboard/Campaigns.tsx | 8 ++++---- components/dashboard/Chart.tsx | 8 ++++---- components/dashboard/GoalStats.tsx | 2 +- components/notifications/NotificationCenter.tsx | 2 +- components/settings/OrganizationSettings.tsx | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/sites/[id]/uptime/page.tsx b/app/sites/[id]/uptime/page.tsx index e572ebf..cf4b001 100644 --- a/app/sites/[id]/uptime/page.tsx +++ b/app/sites/[id]/uptime/page.tsx @@ -473,7 +473,7 @@ function MonitorCard({
Status
-
+
{getStatusLabel(monitor.last_status)} diff --git a/app/welcome/page.tsx b/app/welcome/page.tsx index 51f3a6b..295b374 100644 --- a/app/welcome/page.tsx +++ b/app/welcome/page.tsx @@ -338,7 +338,7 @@ function WelcomeContent() {
setStep(1)} - className="flex items-center gap-1.5 text-sm text-neutral-500 dark:text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-300 mb-6 focus:outline-none focus:ring-2 focus:ring-brand-orange rounded" + className="flex items-center gap-2 text-sm text-neutral-500 dark:text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-300 mb-6 focus:outline-none focus:ring-2 focus:ring-brand-orange rounded" aria-label="Back to welcome" > @@ -546,7 +546,7 @@ function WelcomeContent() {
{hasPrev && ( -
+
vs {formatValue(prev as number)} {prevPeriodLabel ? `(${prevPeriodLabel})` : 'prev'} {delta !== null && ( @@ -540,7 +540,7 @@ export default function Chart({
{prevData?.length ? ( -
+
Export chart diff --git a/components/dashboard/GoalStats.tsx b/components/dashboard/GoalStats.tsx index 6c0571f..f3f6b06 100644 --- a/components/dashboard/GoalStats.tsx +++ b/components/dashboard/GoalStats.tsx @@ -52,7 +52,7 @@ export default function GoalStats({ goalCounts }: GoalStatsProps) {

Read documentation diff --git a/components/notifications/NotificationCenter.tsx b/components/notifications/NotificationCenter.tsx index dad2ca4..19f9a4c 100644 --- a/components/notifications/NotificationCenter.tsx +++ b/components/notifications/NotificationCenter.tsx @@ -235,7 +235,7 @@ export default function NotificationCenter() { setOpen(false)} - className="flex items-center gap-1.5 text-sm text-neutral-500 dark:text-neutral-400 hover:text-brand-orange dark:hover:text-brand-orange transition-colors" + className="flex items-center gap-2 text-sm text-neutral-500 dark:text-neutral-400 hover:text-brand-orange dark:hover:text-brand-orange transition-colors" > Manage settings diff --git a/components/settings/OrganizationSettings.tsx b/components/settings/OrganizationSettings.tsx index 2579b83..8e17bea 100644 --- a/components/settings/OrganizationSettings.tsx +++ b/components/settings/OrganizationSettings.tsx @@ -1024,7 +1024,7 @@ export default function OrganizationSettings() { type="button" onClick={handleManageSubscription} disabled={isRedirectingToPortal} - className="inline-flex items-center gap-1.5 text-sm text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors disabled:opacity-50 focus:outline-none focus:ring-2 focus:ring-brand-orange focus:rounded" + className="inline-flex items-center gap-2 text-sm text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white transition-colors disabled:opacity-50 focus:outline-none focus:ring-2 focus:ring-brand-orange focus:rounded" > Payment method & invoices @@ -1034,7 +1034,7 @@ export default function OrganizationSettings() { @@ -1077,14 +1077,14 @@ export default function OrganizationSettings() { {invoice.invoice_pdf && ( + className="inline-flex items-center gap-2 px-2.5 py-1.5 text-xs font-medium text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-white hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-lg transition-colors focus:outline-none focus:ring-2 focus:ring-brand-orange" title="Download PDF"> Download PDF )} {invoice.hosted_invoice_url && (