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:
@@ -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 * {
|
||||
|
||||
Reference in New Issue
Block a user