Skip to content

Commit 6d1a9e5

Browse files
committed
fix: limit height of discriminator dropdown, fixes #484
1 parent 3829aca commit 6d1a9e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common-elements/dropdown.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export const StyledDropdown = withProps<DropdownProps>(styled(Dropdown))`
7171
background: white;
7272
border: 1px solid rgba(38, 50, 56, 0.2);
7373
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
74+
75+
max-height: 220px;
76+
overflow: auto;
7477
}
7578
7679
.Dropdown-option {

0 commit comments

Comments
 (0)