Răsfoiți Sursa

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.
creatixchu 2 luni în urmă
părinte
comite
e89ae129d7

+ 3 - 0
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;