From 1ce5a9ba2de9dbb6372e12fe77f32ae5f1c42ec2 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Thu, 8 Oct 2026 16:27:14 -0400 Subject: [PATCH] fix(pwa): keep the update banner and auth forms usable when space is tight Addresses two CodeRabbit findings on the update banner change. The banner row could not fit the icon, message and Reload button on a narrow viewport at large text zoom, and the root clips overflow, so the button could be unreachable. Let the row wrap; the button drops to its own centered line only when the content does not fit. The login, register and setup containers centred their forms with no scrolling, so once the banner reduced the shell height a tall form was clipped and its submit button could not be reached. Make the container the scroll area and centre the form wrapper with min-h-full, matching the pattern already used in GlobalSchedules and PromptsTab. --- frontend/src/components/PwaUpdatePrompt.tsx | 2 +- frontend/src/pages/Login.tsx | 4 ++-- frontend/src/pages/Register.tsx | 4 ++-- frontend/src/pages/Setup.tsx | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/PwaUpdatePrompt.tsx b/frontend/src/components/PwaUpdatePrompt.tsx index 996b460e..867673df 100644 --- a/frontend/src/components/PwaUpdatePrompt.tsx +++ b/frontend/src/components/PwaUpdatePrompt.tsx @@ -19,7 +19,7 @@ export function PwaUpdatePrompt() { aria-live="polite" className="w-full shrink-0 bg-primary pt-safe text-primary-foreground" > -