diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-25 08:08:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 08:08:30 -0800 |
commit | 9c5d92088d4bd84c58744eecc2f691885ab0e778 (patch) | |
tree | d9c15cc83cb2654c6ad8f8b2fc70134b57d704d9 /src/style.css | |
parent | e40656128d2fad41762ec1e7f022bc10fcdd25fc (diff) | |
download | voidsky-9c5d92088d4bd84c58744eecc2f691885ab0e778.tar.zst |
Constrain dropdown height to fit in the screen (#7730)
* constrain dropdown height with css variable * fix duplicated dependency * fix pendantic lockfile
Diffstat (limited to 'src/style.css')
-rw-r--r-- | src/style.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index 2e118c433..d5a0f9b43 100644 --- a/src/style.css +++ b/src/style.css @@ -237,6 +237,9 @@ input:focus { .dropdown-menu-transform-origin > * { transform-origin: var(--radix-dropdown-menu-content-transform-origin); } +.dropdown-menu-constrain-size > * { + max-height: var(--radix-dropdown-menu-content-available-height); +} .force-no-clicks > *, .force-no-clicks * { |