From 7d4089762e86455e0c9ea1490a0cb6f6f8f71ac2 Mon Sep 17 00:00:00 2001 From: Kyle Pope Date: Sat, 21 Feb 2026 12:36:35 +0800 Subject: [PATCH] Fix upcoming widget row alignment with consistent priority column The priority badge was conditionally rendered, causing rows without priority to have fewer flex children and shifting the date/type columns. Now always renders a fixed-width priority slot (invisible when empty). Co-Authored-By: Claude Opus 4.6 --- .../components/dashboard/UpcomingWidget.tsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/dashboard/UpcomingWidget.tsx b/frontend/src/components/dashboard/UpcomingWidget.tsx index 2ff16eb..41c3d95 100644 --- a/frontend/src/components/dashboard/UpcomingWidget.tsx +++ b/frontend/src/components/dashboard/UpcomingWidget.tsx @@ -56,16 +56,15 @@ export default function UpcomingWidget({ items, days = 7 }: UpcomingWidgetProps) {config.label} - {item.priority && ( - - {item.priority} - - )} + + {item.priority || ''} + ); })}