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/view/screens | |
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/view/screens')
-rw-r--r-- | src/view/screens/Search/Search.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 02be8cf83..40dcc0d17 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -394,10 +394,7 @@ function SearchLanguageDropdown({ </Button> )} </Menu.Trigger> - <Menu.Outer - // HACKFIX: Currently there is no height limit for Radix dropdowns, - // so if it's too tall it just goes off screen. TODO: fix internally -sfn - style={web({maxHeight: '70vh'})}> + <Menu.Outer> <Menu.LabelText> <Trans>Filter search by language</Trans> </Menu.LabelText> |