Skip to content

Commit

Permalink
style: fix Pagination buttons transition style (ant-design#44030)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Aug 4, 2023
1 parent d9c7a0c commit fee14ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/pagination/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ const genPaginationJumpStyle: GenerateStyle<PaginationToken, CSSObject> = (token
border: `${token.lineWidth}px ${token.lineType} transparent`,
borderRadius: token.borderRadius,
outline: 'none',
transition: `border ${token.motionDurationMid}`,
transition: `all ${token.motionDurationMid}`,
},

[`&:hover ${componentCls}-item-link`]: {
Expand Down Expand Up @@ -502,7 +502,6 @@ const genPaginationItemStyle: GenerateStyle<PaginationToken, CSSObject> = (token
display: 'block',
padding: `0 ${token.paginationItemPaddingInline}px`,
color: token.colorText,
transition: 'none',

'&:hover': {
textDecoration: 'none',
Expand Down

0 comments on commit fee14ec

Please sign in to comment.