Constrain dropdown height to fit in the screen (#7730)

* constrain dropdown height with css variable

* fix duplicated dependency

* fix pendantic lockfile
This commit is contained in:
Samuel Newman
2025-02-25 08:08:30 -08:00
committed by GitHub
parent e40656128d
commit 9c5d92088d
6 changed files with 224 additions and 265 deletions
+3
View File
@@ -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 * {