From 3ab55fc68292df7fa1dc2c1cc35d5d17020a7f43 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Tue, 13 Jan 2026 09:37:05 -0500 Subject: [PATCH] Refactor SessionCard layout to vertically stack checkbox with busy indicator --- .../src/components/session/SessionCard.tsx | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/session/SessionCard.tsx b/frontend/src/components/session/SessionCard.tsx index 82eb3a84..5fbdb485 100644 --- a/frontend/src/components/session/SessionCard.tsx +++ b/frontend/src/components/session/SessionCard.tsx @@ -38,27 +38,29 @@ export const SessionCard = ({ >
- { - onToggleSelection(checked === true); - }} - onClick={(e) => { - e.stopPropagation(); - }} - className="w-5 h-5 flex-shrink-0 mt-0.5" - /> +
+ { + onToggleSelection(checked === true); + }} + onClick={(e) => { + e.stopPropagation(); + }} + className="w-5 h-5 flex-shrink-0" + /> + {isSessionBusy && ( + + + + + )} +

{session.title || "Untitled Session"}

- {isSessionBusy && ( - - - - - )}
@@ -79,4 +81,4 @@ export const SessionCard = ({
); -}; \ No newline at end of file +};