From 98fda6bfa24aea1861f61f6c1f02cf2d33bd2222 Mon Sep 17 00:00:00 2001 From: Timi Date: Thu, 15 Jan 2026 13:32:20 +0800 Subject: [PATCH] fix t-pagination and t-menu style --- src/assets/style/tencent-cloud-custom.less | 40 ++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/src/assets/style/tencent-cloud-custom.less b/src/assets/style/tencent-cloud-custom.less index 2f8ccc1..24d56b5 100644 --- a/src/assets/style/tencent-cloud-custom.less +++ b/src/assets/style/tencent-cloud-custom.less @@ -50,9 +50,22 @@ } .t-pagination { + font-size: 12px; + --td-comp-size-m: 28px; - .t-pagination__number { - cursor: var(--tui-cur-pointer) !important; + .t-pagination__pager { + + .t-pagination__number { + cursor: var(--tui-cur-pointer) !important; + + &:hover { + z-index: 1; + } + + &:not(:last-child) { + margin-right: -1px; + } + } } } @@ -226,3 +239,26 @@ overflow: hidden; } } + +.t-menu { + + .t-head-menu__inner { + height: var(--td-comp-size-xxl); + + .t-menu__operations:not(:empty) { + height: var(--td-comp-size-xxl); + line-height: 1; + } + + .t-menu__item { + height: 100%; + padding: 0 24px; + margin-left: 0; + + &.t-is-active { + color: var(--td-text-color-anti); + background-color: var(--td-brand-color) + } + } + } +}