Skip to content

Commit a7cd6df

Browse files
authored
fix(Pagination): restore disabled styles for custom links (#59780)
1 parent 7d7cd11 commit a7cd6df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎components/pagination/style/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const genPaginationDisabledStyle: GenerateStyle<PaginationToken, CSSObject> = (t
141141
'&, &:hover': {
142142
cursor: 'not-allowed',
143143

144-
[`${componentCls}-item-link`]: {
144+
[`${componentCls}-item-link, a`]: {
145145
color: token.colorTextDisabled,
146146
cursor: 'not-allowed',
147147
},
@@ -150,7 +150,7 @@ const genPaginationDisabledStyle: GenerateStyle<PaginationToken, CSSObject> = (t
150150
'&:focus-visible': {
151151
cursor: 'not-allowed',
152152

153-
[`${componentCls}-item-link`]: {
153+
[`${componentCls}-item-link, a`]: {
154154
color: token.colorTextDisabled,
155155
cursor: 'not-allowed',
156156
},
@@ -188,7 +188,7 @@ const genPaginationDisabledStyle: GenerateStyle<PaginationToken, CSSObject> = (t
188188
},
189189
},
190190

191-
[`${componentCls}-item-link`]: {
191+
[`${componentCls}-item-link, a`]: {
192192
color: token.colorTextDisabled,
193193
cursor: 'not-allowed',
194194
'&:hover, &:active': {

0 commit comments

Comments
 (0)