From 37aafbe636b4a1f5618907c4de8a00c94d7332fe Mon Sep 17 00:00:00 2001 From: William Tso Date: Mon, 24 Mar 2025 18:47:07 +0800 Subject: [PATCH] fix style --- app/links/[id]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/links/[id]/page.tsx b/app/links/[id]/page.tsx index f1b8222..1dbfb63 100644 --- a/app/links/[id]/page.tsx +++ b/app/links/[id]/page.tsx @@ -862,9 +862,9 @@ export default function LinkDetailsPage({ onClick={() => updateTimeGranularity(granularity) } - className={`px-3 py-1 text-xs rounded-md ${ + className={`px-4 py-2 text-sm font-medium rounded-md ${ timeGranularity === granularity - ? "bg-accent-blue text-white" + ? "bg-accent-blue text-black shadow-sm" : "bg-card-bg text-text-secondary border border-card-border hover:bg-gray-100" }`} >