mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix: Input should show cursor when disabled (#47280)
This commit is contained in:
parent
7ec7ab18da
commit
53b0b2475d
@ -16,6 +16,10 @@ export const genDisabledStyle = (token: InputToken): CSSObject => ({
|
|||||||
cursor: 'not-allowed',
|
cursor: 'not-allowed',
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
|
|
||||||
|
'input[disabled]': {
|
||||||
|
cursor: 'not-allowed',
|
||||||
|
},
|
||||||
|
|
||||||
'&:hover:not([disabled])': {
|
'&:hover:not([disabled])': {
|
||||||
...genHoverStyle(
|
...genHoverStyle(
|
||||||
mergeToken<InputToken>(token, {
|
mergeToken<InputToken>(token, {
|
||||||
|
Loading…
Reference in New Issue
Block a user