Skip to content

Commit e154756

Browse files
JiyurKhanh Tran
andauthored
fix(Transfer): prevent remove button hover color change when disabled (ant-design#57579)
Co-authored-by: Khanh Tran <quangkhanhdeveloper@gmail.com>
1 parent 7c363a1 commit e154756

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

components/transfer/style/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ const genTransferListStyle: GenerateStyle<TransferToken, CSSObject> = (token) =>
251251
'&:hover, &:focus': {
252252
color: colorTextSecondary,
253253
},
254+
255+
'&:disabled': {
256+
color: colorTextDisabled,
257+
cursor: 'not-allowed',
258+
},
254259
},
255260

256261
[`&:not(${componentCls}-list-content-item-disabled)`]: {

0 commit comments

Comments
 (0)