From 8f8761ed3d4e72e373abafbde303c89eedbf109f Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 21 Feb 2026 23:29:50 +0100 Subject: [PATCH] style: standardize padding across multiple components for improved layout consistency --- app/features/page.tsx | 2 +- app/integrations/page.tsx | 4 ++-- app/notifications/page.tsx | 4 ++-- app/page.tsx | 4 ++-- app/share/[id]/page.tsx | 2 +- app/sites/[id]/settings/page.tsx | 18 +++++++++--------- app/sites/new/page.tsx | 2 +- app/welcome/page.tsx | 2 +- components/dashboard/PerformanceStats.tsx | 2 +- components/settings/OrganizationSettings.tsx | 12 ++++++------ 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/app/features/page.tsx b/app/features/page.tsx index 646801d..c985bb6 100644 --- a/app/features/page.tsx +++ b/app/features/page.tsx @@ -147,7 +147,7 @@ export default function FeaturesPage() { whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} transition={{ duration: 0.5, delay: i * 0.1 }} - className="card-glass p-8 hover:-translate-y-1 hover:shadow-xl transition-all duration-300 group" + className="card-glass p-6 hover:-translate-y-1 hover:shadow-xl transition-all duration-300 group" >
diff --git a/app/integrations/page.tsx b/app/integrations/page.tsx index 461cc52..dd1506d 100644 --- a/app/integrations/page.tsx +++ b/app/integrations/page.tsx @@ -285,7 +285,7 @@ export default function IntegrationsPage() { >
@@ -351,7 +351,7 @@ export default function IntegrationsPage() { whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} transition={{ duration: 0.5 }} - className="max-w-md mx-auto mt-12 p-8 border border-dashed border-neutral-300 dark:border-neutral-700 rounded-2xl flex flex-col items-center justify-center text-center" + className="max-w-md mx-auto mt-12 p-6 border border-dashed border-neutral-300 dark:border-neutral-700 rounded-2xl flex flex-col items-center justify-center text-center" >

Missing something? diff --git a/app/notifications/page.tsx b/app/notifications/page.tsx index 33a0746..0635cf5 100644 --- a/app/notifications/page.tsx +++ b/app/notifications/page.tsx @@ -132,11 +132,11 @@ export default function NotificationsPage() {

) : error ? ( -
+
{error}
) : notifications.length === 0 ? ( -
+

No notifications yet

Manage which notifications you receive in{' '} diff --git a/app/page.tsx b/app/page.tsx index 651227f..02d85b4 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -264,7 +264,7 @@ export default function HomePage() { whileInView={{ opacity: 1, y: 0 }} viewport={{ once: true }} transition={{ duration: 0.5, delay: i * 0.1 }} - className="card-glass p-8 hover:-translate-y-1 hover:shadow-xl transition-all duration-300 group" + className="card-glass p-6 hover:-translate-y-1 hover:shadow-xl transition-all duration-300 group" >

@@ -439,7 +439,7 @@ export default function HomePage() {
{!sitesLoading && sites.length === 0 && ( -
+
diff --git a/app/share/[id]/page.tsx b/app/share/[id]/page.tsx index 30dcfbf..c408fa2 100644 --- a/app/share/[id]/page.tsx +++ b/app/share/[id]/page.tsx @@ -199,7 +199,7 @@ export default function PublicDashboardPage() { if (isPasswordProtected && !data) { return (
-
+
diff --git a/app/sites/[id]/settings/page.tsx b/app/sites/[id]/settings/page.tsx index 4c8e376..fc30439 100644 --- a/app/sites/[id]/settings/page.tsx +++ b/app/sites/[id]/settings/page.tsx @@ -549,7 +549,7 @@ export default function SiteSettingsPage() {

Manage who can view your dashboard.

-
+
@@ -676,7 +676,7 @@ export default function SiteSettingsPage() {

Data Collection

{/* Page Paths Toggle */} -
+

Page Paths

@@ -697,7 +697,7 @@ export default function SiteSettingsPage() {
{/* Referrers Toggle */} -
+

Referrers

@@ -718,7 +718,7 @@ export default function SiteSettingsPage() {
{/* Device Info Toggle */} -
+

Device Info

@@ -739,7 +739,7 @@ export default function SiteSettingsPage() {
{/* Geographic Data Dropdown */} -
+

Geographic Data

@@ -763,7 +763,7 @@ export default function SiteSettingsPage() {
{/* Screen Resolution Toggle */} -
+

Screen Resolution

@@ -787,7 +787,7 @@ export default function SiteSettingsPage() { {/* Bot and noise filtering */}

Filtering

-
+

Filter bots and referrer spam

@@ -811,7 +811,7 @@ export default function SiteSettingsPage() { {/* Performance Insights Toggle */}

Performance Insights

-
+

Performance Insights (Add-on)

@@ -849,7 +849,7 @@ export default function SiteSettingsPage() {
)} -
+

Keep raw event data for

diff --git a/app/sites/new/page.tsx b/app/sites/new/page.tsx index 062d978..ba5f37c 100644 --- a/app/sites/new/page.tsx +++ b/app/sites/new/page.tsx @@ -107,7 +107,7 @@ export default function NewSitePage() { if (createdSite) { return (
-
+
diff --git a/app/welcome/page.tsx b/app/welcome/page.tsx index 083cff9..42194b9 100644 --- a/app/welcome/page.tsx +++ b/app/welcome/page.tsx @@ -332,7 +332,7 @@ function WelcomeContent() { } const cardClass = - 'bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 rounded-2xl shadow-sm p-8 max-w-lg mx-auto' + 'bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 rounded-2xl shadow-sm p-6 max-w-lg mx-auto' return (
diff --git a/components/dashboard/PerformanceStats.tsx b/components/dashboard/PerformanceStats.tsx index 78ca72e..6b9b184 100644 --- a/components/dashboard/PerformanceStats.tsx +++ b/components/dashboard/PerformanceStats.tsx @@ -108,7 +108,7 @@ export default function PerformanceStats({ stats, performanceByPage, siteId, sta const summaryText = `LCP ${Math.round(stats.lcp)} ms · CLS ${Number(stats.cls.toFixed(3))} · INP ${Math.round(stats.inp)} ms` return ( -
+
{/* * One-line summary: Performance score + metric summary. Click to expand. */}
@@ -834,7 +834,7 @@ export default function OrganizationSettings() { {/* Trial notice */} {subscription.subscription_status === 'trialing' && ( -
+

Your free trial ends on{' '} @@ -854,7 +854,7 @@ export default function OrganizationSettings() { {/* Past due notice */} {subscription.subscription_status === 'past_due' && ( -

+

Payment past due @@ -877,7 +877,7 @@ export default function OrganizationSettings() { {/* Cancel-at-period-end notice */} {subscription.cancel_at_period_end && ( -

+

Your subscription will end on{' '}