Make right column cards fill height to align with Upcoming card
Wrap TodoWidget in flex-1 container and add h-full to its Card so the Upcoming Todos card stretches to fill remaining space in the right column, keeping both columns visually aligned. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b8bc097f6f
commit
66e230f740
@ -199,7 +199,9 @@ export default function DashboardPage() {
|
||||
<CountdownWidget events={data.starred_events} />
|
||||
)}
|
||||
<CalendarWidget events={data.todays_events} />
|
||||
<TodoWidget todos={data.upcoming_todos} />
|
||||
<div className="flex-1">
|
||||
<TodoWidget todos={data.upcoming_todos} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ export default function TodoWidget({ todos }: TodoWidgetProps) {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<Card className="h-full">
|
||||
<CardHeader>
|
||||
<CardTitle className="flex items-center gap-2">
|
||||
<div className="p-1.5 rounded-md bg-blue-500/10">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user