From e89ae129d76f59092c1cc25905e658d822f866ac Mon Sep 17 00:00:00 2001 From: creatixchu Date: Wed, 29 Jul 2026 05:16:11 +0800 Subject: [PATCH] fix(host): wrap the dialog footer on narrow viewports The confirm/cancel pair wraps onto its own row when the viewport-clamped card is too narrow for the whole footer, so Open stays visible instead of clipping past the card's hidden overflow. --- .../src/client/DirectoryBrowser.module.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/host/directory-picker-browse/src/client/DirectoryBrowser.module.css b/packages/host/directory-picker-browse/src/client/DirectoryBrowser.module.css index 82be42efbe..800af854a1 100644 --- a/packages/host/directory-picker-browse/src/client/DirectoryBrowser.module.css +++ b/packages/host/directory-picker-browse/src/client/DirectoryBrowser.module.css @@ -233,6 +233,9 @@ .footerBar { display: flex; align-items: center; + /* Narrow viewports wrap the confirm/cancel pair onto their own row + * instead of clipping Open past the card's hidden overflow. */ + flex-wrap: wrap; gap: 8px; flex: none; padding: 12px 24px 28px;