From c61a6b089e56beec1de5c106440764518f507012 Mon Sep 17 00:00:00 2001 From: Paul Nothaft Date: Tue, 8 Sep 2026 16:55:09 +0200 Subject: [PATCH] fix(usage): cap the update-prompt modal height so it scrolls on short viewports Found testing against WebKit at an iPhone-sized viewport: the fixed overlay + flex-center wrapper has no height limit, so on a short screen the title is clipped off the top and the "Maybe later" button off the bottom, with no way to reach either. Capping the card at max-h-[90vh] with its own overflow-y-auto keeps the backdrop static and makes the card scroll internally instead. --- frontend/src/components/admin/UsageReportingPrompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/admin/UsageReportingPrompt.tsx b/frontend/src/components/admin/UsageReportingPrompt.tsx index 3af07d68..baad8b50 100644 --- a/frontend/src/components/admin/UsageReportingPrompt.tsx +++ b/frontend/src/components/admin/UsageReportingPrompt.tsx @@ -56,7 +56,7 @@ export default function UsageReportingPrompt() { return (
- +