import styled from '@emotion/styled'; export const StyledDropdownMenuItemsContainer = styled.div<{ hasMaxHeight?: boolean; }>` --padding: ${({ theme }) => theme.spacing(1)}; align-items: flex-start; display: flex; flex-direction: column; gap: 2px; height: 100%; max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '180px' : 'none')}; overflow-y: auto; padding: var(--padding); padding-right: var(--padding); width: calc(100% - 2 * var(--padding)); `;