Skip to content

Commit

Permalink
Add scroll to Dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
p-malecki committed Oct 11, 2024
1 parent 1c24ff3 commit 9553d42
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ button {
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
will-change: transform, opacity;
box-shadow: var(--swm-backdrop-shadow);
max-height: calc(var(--radix-dropdown-menu-content-available-height) - 50px);
overflow-y: auto;
}

.dropdown-menu-content[data-side="bottom"] {
Expand Down

0 comments on commit 9553d42

Please sign in to comment.