fix: DatePicker cut in DropDownMenu (#1437)

* fix: DatePicker cut in DropDownMenu

* fix: better solution
This commit is contained in:
Jérémy M 2023-09-04 17:42:46 +02:00 committed by GitHub
parent a1e6e46388
commit 4889a69751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,9 @@ export const StyledDropdownMenu = styled.div<{
flex-direction: column;
min-width: 160px;
overflow: hidden;
width: ${({ width }) => (width && width > 160 ? width : 160)}px;
width: ${({ width }) => (width ? `${width}px` : 'auto')};
`;