mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-27 22:54:38 +08:00
fix(input): fix default width of Input cannot shrink under flex
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user