fix: limit height of discriminator dropdown, fixes #484

This commit is contained in:
Roman Hotsiy 2018-05-14 11:04:56 +03:00
parent 3829aca046
commit 6d1a9e589c
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -71,6 +71,9 @@ export const StyledDropdown = withProps<DropdownProps>(styled(Dropdown))`
background: white;
border: 1px solid rgba(38, 50, 56, 0.2);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08);
max-height: 220px;
overflow: auto;
}
.Dropdown-option {