fix(ui): keep Web Awesome available-height bound in workboard listbox caps (#110788)

This commit is contained in:
Peter Steinberger
2026-07-18 17:19:39 +01:00
committed by GitHub
parent 6a8575651f
commit ef04f351ea

View File

@@ -396,7 +396,9 @@
}
.workboard-select::part(listbox) {
max-height: min(320px, calc(100vh - 48px));
/* Keep Web Awesome's collision-aware bound in the cap; replacing it outright
would let the listbox overflow when the popup has little room to open. */
max-height: min(320px, var(--auto-size-available-height, calc(100vh - 48px)));
padding: 6px;
border: 1px solid color-mix(in srgb, var(--border-strong) 86%, transparent);
border-radius: 8px;
@@ -1455,7 +1457,7 @@
}
.workboard-select::part(listbox) {
max-height: min(260px, calc(100vh - 48px));
max-height: min(260px, var(--auto-size-available-height, calc(100vh - 48px)));
}
.workboard-draft__meta {