fix: 航栏右侧图标垂直居中对齐问题及顶部模式下通知图标颜色不一致问题

This commit is contained in:
Ray.Hao
2025-04-15 18:32:56 +08:00
parent 52790a6c10
commit 0fa7df5e2a

View File

@@ -107,10 +107,11 @@ function logout() {
justify-content: center;
& > * {
display: inline-block;
display: flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: $navbar-height;
line-height: $navbar-height;
color: var(--el-text-color);
text-align: center;
cursor: pointer;
@@ -141,6 +142,12 @@ function logout() {
.layout-top .navbar__right--white > *,
.layout-mix .navbar__right--white > * {
color: #fff;
// 强制所有svg图标为白色包括通知图标
:deep(svg) {
color: #fff;
fill: #fff;
}
}
.dark .navbar__right > *:hover {