From b30270a3fbec1d117d3a9c75bcd73d67355c3a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E4=BF=AE?= <95400047+HughCodeX@users.noreply.github.com> Date: Thu, 20 Jul 2023 14:44:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=9C=AA=E5=B1=85=E4=B8=AD=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#2917)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/ant/index.less | 2 +- src/layouts/default/header/components/notify/index.vue | 4 +++- src/layouts/default/header/index.less | 2 +- src/layouts/default/tabs/components/TabRedo.vue | 5 +++++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/design/ant/index.less b/src/design/ant/index.less index 1cc81653..4409c23e 100644 --- a/src/design/ant/index.less +++ b/src/design/ant/index.less @@ -8,7 +8,7 @@ } } -span.anticon:not(.app-iconify) { +span.anticon:not(.app-iconify, .anticon-vertical-align-top, .anticon-bell) { vertical-align: 0.125em !important; } diff --git a/src/layouts/default/header/components/notify/index.vue b/src/layouts/default/header/components/notify/index.vue index da66affb..e6883bb5 100644 --- a/src/layouts/default/header/components/notify/index.vue +++ b/src/layouts/default/header/components/notify/index.vue @@ -66,7 +66,7 @@ @prefix-cls: ~'@{namespace}-header-notify'; .@{prefix-cls} { - padding-top: 2px; + padding-bottom: 1px; &__overlay { max-width: 360px; @@ -77,6 +77,8 @@ } .ant-badge { + display: flex; + align-items: center; font-size: 18px; .ant-badge-multiple-words { diff --git a/src/layouts/default/header/index.less b/src/layouts/default/header/index.less index 213d8bac..2ce7bdf1 100644 --- a/src/layouts/default/header/index.less +++ b/src/layouts/default/header/index.less @@ -120,7 +120,7 @@ } .ant-badge-dot { - top: 10px; + top: 14px; right: 2px; } } diff --git a/src/layouts/default/tabs/components/TabRedo.vue b/src/layouts/default/tabs/components/TabRedo.vue index a6fa6575..9c038aaf 100644 --- a/src/layouts/default/tabs/components/TabRedo.vue +++ b/src/layouts/default/tabs/components/TabRedo.vue @@ -31,3 +31,8 @@ }, }); +