adjust window size for scroll (#4792)
related to #4749. Adjusted the max height for window so that it cuts the last option a little. I wanted to test the menu from the second pic in the issue with the multi select option but could not figure out where it was in the application. --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -13,7 +13,7 @@ const StyledDropdownMenuItemsExternalContainer = styled.div<{
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
height: 100%;
|
||||
max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '180px' : 'none')};
|
||||
max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '188px' : 'none')};
|
||||
overflow-y: auto;
|
||||
|
||||
padding: var(--padding);
|
||||
|
||||
Reference in New Issue
Block a user