fix: Min-width collapsing search inputs

This commit is contained in:
Tom Moor
2022-10-11 22:21:11 -04:00
parent cb89c3aa79
commit 484e912947

View File

@@ -64,7 +64,7 @@ const Wrapper = styled.div<{
flex: ${(props) => (props.flex ? "1" : "0")};
width: ${(props) => (props.short ? "49%" : "auto")};
max-width: ${(props) => (props.short ? "350px" : "100%")};
min-width: ${({ minWidth }) => (minWidth ? `${minWidth}px` : "0")};
min-width: ${({ minWidth }) => (minWidth ? `${minWidth}px` : "initial")};
min-height: ${({ minHeight }) => (minHeight ? `${minHeight}px` : "0")};
max-height: ${({ maxHeight }) => (maxHeight ? `${maxHeight}px` : "initial")};
`;