Skip to content

Commit

Permalink
fix: add max-height and overflow
Browse files Browse the repository at this point in the history
this will give Menu a scrollbar which is ideal for long lists, it uses the same max-height as the Select component
  • Loading branch information
kaydwithers committed Sep 27, 2023
1 parent 493529f commit 45da18a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions draft-packages/menu/KaizenDraft/Menu/MenuDropdown.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ $dropdown-index: 1000;
color: $color-purple-800;
border-radius: $border-solid-border-radius;
box-shadow: $shadow-large-box-shadow;
max-height: 22rem;
overflow: auto;
padding: $spacing-xs 0;
text-align: left;

Expand Down

0 comments on commit 45da18a

Please sign in to comment.