fix: vertically center Transactions card header action

The Select sat below the title's center because the grid CardAction is
self-start and spans two rows with no description row. Use a centered
flex header so the title and period selector align.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Sahaj Jain
2026-06-11 06:12:27 +05:30
parent b784f961b4
commit f89566aef1
@@ -49,12 +49,12 @@ const transactions = [
export function Transactions() {
return (
<Card className="w-full">
<CardHeader>
<CardHeader className="flex items-center justify-between">
<CardTitle className="flex items-center gap-1.5">
<CircleDollarSignIcon className="text-muted-foreground size-4" />
Transactions
</CardTitle>
<CardAction>
<CardAction className="self-center">
<Select defaultValue="last-month">
<SelectTrigger size="sm">
<SelectValue />