fix(input): fix default width of Input cannot shrink under flex

This commit is contained in:
unix
2020-05-16 22:53:54 +08:00
parent a012413374
commit c6464409c4

View File

@@ -227,6 +227,7 @@ const Input = React.forwardRef<HTMLInputElement, React.PropsWithChildren<InputPr
outline: none;
border-radius: 0;
width: 100%;
min-width: 0;
-webkit-appearance: none;
}