Skip to content

Commit

Permalink
Make SemesterPicker scrollable on many options (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matushl authored Apr 14, 2024
1 parent 8231f0d commit 47bf22f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/SemesterPicker/Dropdown.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
.displayOptions {
display: grid;
grid-template-columns: max-content;
// random constant to make sure the dropdown is not too long (around 8 options)
max-height: 19rem;
overflow-y: auto;
}

.option {
Expand Down

0 comments on commit 47bf22f

Please sign in to comment.