fix(pager): all theme use same svg to show dot (#1673)

This commit is contained in:
gimmyhehe 2024-06-26 11:22:20 +08:00 committed by GitHub
parent fc13e4344c
commit 6b4801cf2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 11 deletions

View File

@ -101,19 +101,13 @@
&.dot {
.icon {
font-size: 14px;
font-size: var(--ti-pager-dot-is-popup-svg-font-size);
}
&.is-popup {
svg {
display: var(--ti-pager-dot-is-popup-display);
}
&::before {
content: '\00b7\00b7\00b7';
display: var(--ti-pager-dot-before-display);
letter-spacing: 1px;
}
}
}

View File

@ -24,8 +24,7 @@ export const tinyPagerSmbTheme = {
'ti-pager-next-padding-right': '0px',
'ti-pager-btn-svg-fill-color': 'var(--ti-common-color-icon-normal)',
'ti-pager-active-font-weight': '600',
'ti-pager-dot-is-popup-display': 'none',
'ti-pager-dot-before-display': 'block',
'ti-pager-dot-is-popup-svg-font-size': '16px',
'ti-pager-poplist-item-hover-bg-color': '#0000000D',
'ti-pager-poplist-item-hover-text-color': '#191919',
'ti-pager-li-item-hover-font-weight': 'var(--ti-common-font-weight-6)',

View File

@ -132,8 +132,8 @@
// 分页页码折叠时svg显示
--ti-pager-dot-is-popup-display: inline;
// 分页页码折叠时before显示
--ti-pager-dot-before-display: none;
// 分页页码折叠时svg大小
--ti-pager-dot-is-popup-svg-font-size: 14px;
// 分页前进和后退按钮悬浮背景色
--ti-pager-prev-next-hover-bg-color: var(--ti-common-color-hover-background, #f2f5fc);