fix style

This commit is contained in:
2025-03-24 18:47:07 +08:00
parent f41a6b6e5b
commit 37aafbe636

View File

@@ -862,9 +862,9 @@ export default function LinkDetailsPage({
onClick={() => onClick={() =>
updateTimeGranularity(granularity) updateTimeGranularity(granularity)
} }
className={`px-3 py-1 text-xs rounded-md ${ className={`px-4 py-2 text-sm font-medium rounded-md ${
timeGranularity === granularity 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" : "bg-card-bg text-text-secondary border border-card-border hover:bg-gray-100"
}`} }`}
> >