From 484e912947dfe0693395ea19d99fa7413808e383 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Tue, 11 Oct 2022 22:21:11 -0400 Subject: [PATCH] fix: Min-width collapsing search inputs --- app/components/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Input.tsx b/app/components/Input.tsx index 25baf5f78..f8f34139c 100644 --- a/app/components/Input.tsx +++ b/app/components/Input.tsx @@ -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")}; `;