Skip to content

Commit 0563cab

Browse files
committed
fix(hub-ui): keep language options reachable in short windows
1 parent 0661c6c commit 0563cab

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/hub-ui/src/client/style.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
--un-text-opacity: 100%;
33
}
44

5+
/* Keep portaled select options scrollable within the available window height.
6+
* Reserve the two border pixels on FormSelect's enclosing content. */
7+
[data-reka-select-viewport] {
8+
max-height: calc(var(--reka-select-content-available-height) - 2px);
9+
overscroll-behavior-y: contain;
10+
}
11+
512
/*
613
* Thin/transparent scrollbar, matching packages/ui/src/styles/global.css -
714
* that stylesheet only reaches the Nuxt plugin apps, not this injected

0 commit comments

Comments
 (0)