mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-15 13:38:29 +02:00
fix<Input.OTP>: wrong caret color (#54588)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
This commit is contained in:
parent
46c9c93773
commit
f5f8967148
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ const genOTPStyle: GenerateStyle<InputToken> = (token) => {
|
|||
},
|
||||
[`${componentCls}-mask-input`]: {
|
||||
color: 'transparent',
|
||||
caretColor: 'var(--ant-color-text)',
|
||||
caretColor: token.colorText,
|
||||
},
|
||||
[`${componentCls}-mask-input[type=number]::-webkit-inner-spin-button`]: {
|
||||
'-webkit-appearance': 'none',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue