mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-04 18:21:59 +03:00
fix: DatePicker cut in DropDownMenu (#1437)
* fix: DatePicker cut in DropDownMenu * fix: better solution
This commit is contained in:
parent
a1e6e46388
commit
4889a69751
@ -16,7 +16,9 @@ export const StyledDropdownMenu = styled.div<{
|
|||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
min-width: 160px;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
width: ${({ width }) => (width && width > 160 ? width : 160)}px;
|
width: ${({ width }) => (width ? `${width}px` : 'auto')};
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user