🐞 fix: pagination hover style error when size=small (#41458)

* 🐞 fix: style error

* fix

* fix
This commit is contained in:
lijianan 2023-03-26 13:07:31 +08:00 committed by GitHub
parent b352bad62a
commit 13dfc7d765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ import {
initInputToken,
type InputToken,
} from '../../input/style';
import { genFocusOutline, genFocusStyle, resetComponent } from '../../style';
import type { FullToken, GenerateStyle } from '../../theme/internal';
import { genComponentStyleHook, mergeToken } from '../../theme/internal';
import { genFocusOutline, genFocusStyle, resetComponent } from '../../style';
interface PaginationToken extends InputToken<FullToken<'Pagination'>> {
paginationItemSize: number;
@ -134,6 +134,9 @@ const genPaginationMiniStyle: GenerateStyle<PaginationToken, CSSObject> = (token
[`&${componentCls}-mini ${componentCls}-item:not(${componentCls}-item-active)`]: {
backgroundColor: 'transparent',
borderColor: 'transparent',
'&:hover': {
backgroundColor: token.colorBgTextHover,
},
},
[`&${componentCls}-mini ${componentCls}-prev, &${componentCls}-mini ${componentCls}-next`]: {