mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
fix: limit height of discriminator dropdown, fixes #484
This commit is contained in:
parent
3829aca046
commit
6d1a9e589c
|
@ -71,6 +71,9 @@ export const StyledDropdown = withProps<DropdownProps>(styled(Dropdown))`
|
||||||
background: white;
|
background: white;
|
||||||
border: 1px solid rgba(38, 50, 56, 0.2);
|
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);
|
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 {
|
.Dropdown-option {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user