fix-on-dropdown-menu-width (#1181)

This commit is contained in:
Charles Bochet
2023-08-13 02:26:47 +02:00
committed by GitHub
parent 09ab1300a3
commit 8cf6db8c65
3 changed files with 5 additions and 9 deletions

View File

@ -18,5 +18,5 @@ export const DropdownMenu = styled.div<{
overflow: hidden;
width: ${({ width }) => width ?? 160}px;
width: ${({ width }) => (width && width > 160 ? width : 160)}px;
`;