Skip to content

Commit

Permalink
fix: dropdown now stays within the viewport (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmehta-eightfold authored Jan 26, 2023
1 parent f97a7df commit d93f0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dropdown/dropdown.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
opacity: 0;
white-space: normal;
z-index: $z-index-400;
max-height: min(50vh, 600px);
max-height: min(45vh, 600px);
overflow-y: auto;

&.open {
Expand Down

0 comments on commit d93f0fd

Please sign in to comment.