mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 06:01:36 +00:00
fix(ui): keep Web Awesome available-height bound in workboard listbox caps (#110788)
This commit is contained in:
committed by
GitHub
parent
6a8575651f
commit
ef04f351ea
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user