mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-08-28 23:02:07 +08:00
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:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user