mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-27 22:54:38 +08:00
fix(input): fix color of fill text
This commit is contained in:
@@ -201,6 +201,7 @@ const Input = React.forwardRef<HTMLInputElement, React.PropsWithChildren<InputPr
|
||||
input:-webkit-autofill:active,
|
||||
input:-webkit-autofill:focus {
|
||||
-webkit-box-shadow: 0 0 0 30px ${theme.palette.background} inset !important;
|
||||
-webkit-text-fill-color: ${color} !important;
|
||||
}
|
||||
`}</style>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user