From e21c905db357f3b01328e3cd4bdca883509bbdc7 Mon Sep 17 00:00:00 2001 From: NC1107 Date: Thu, 21 May 2026 23:23:34 -0400 Subject: [PATCH] fix(client): clamp voice lounge background-picker dialog width to viewport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The dialog hard-coded width: 400 which overflows 360px phones (since the dialog opens at 600px+). Clamp width to 320–440 based on actual viewport size so the dialog fits on every device that triggers it. --- apps/client/lib/src/screens/voice_lounge_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/lib/src/screens/voice_lounge_screen.dart b/apps/client/lib/src/screens/voice_lounge_screen.dart index 3d65e4ce..432acfab 100644 --- a/apps/client/lib/src/screens/voice_lounge_screen.dart +++ b/apps/client/lib/src/screens/voice_lounge_screen.dart @@ -580,7 +580,7 @@ class _VoiceLoungeScreenState extends ConsumerState { ], ), content: SizedBox( - width: 400, + width: MediaQuery.sizeOf(dialogCtx).width.clamp(320.0, 440.0), child: Column( mainAxisSize: MainAxisSize.min, children: [