From 0563cab0144fd339f286662423133ae23187d66d Mon Sep 17 00:00:00 2001 From: Sakana <15715093608@163.com> Date: Wed, 14 Oct 2026 12:18:53 +0800 Subject: [PATCH] fix(hub-ui): keep language options reachable in short windows --- packages/hub-ui/src/client/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/hub-ui/src/client/style.css b/packages/hub-ui/src/client/style.css index a9d0dba56..73a81dc43 100644 --- a/packages/hub-ui/src/client/style.css +++ b/packages/hub-ui/src/client/style.css @@ -2,6 +2,13 @@ --un-text-opacity: 100%; } +/* Keep portaled select options scrollable within the available window height. + * Reserve the two border pixels on FormSelect's enclosing content. */ +[data-reka-select-viewport] { + max-height: calc(var(--reka-select-content-available-height) - 2px); + overscroll-behavior-y: contain; +} + /* * Thin/transparent scrollbar, matching packages/ui/src/styles/global.css - * that stylesheet only reaches the Nuxt plugin apps, not this injected