From f5a61b6cdffd89cc4daf778f14bbfe3a8d4a4a23 Mon Sep 17 00:00:00 2001
From: zjk <852185829@qq.com>
Date: 星期六, 10 十月 2026 17:00:38 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/Hugray

---
 hugray-admin/src/layout/components/HeaderNotice/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/hugray-admin/src/layout/components/HeaderNotice/index.vue b/hugray-admin/src/layout/components/HeaderNotice/index.vue
index 2dfabd0..08ac905 100644
--- a/hugray-admin/src/layout/components/HeaderNotice/index.vue
+++ b/hugray-admin/src/layout/components/HeaderNotice/index.vue
@@ -107,12 +107,16 @@
 <style lang="scss" scoped>
 .notice-trigger {
   position: relative;
-  transform: translateX(-6px);
-  .svg-icon { width: 1.2em; height: 1.2em; vertical-align: -0.2em; }
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  /* 顶栏图标在 30px 圆形按钮内居中,行高需归零(否则继承 .right-menu 的 50px 使盒子溢出圆形) */
+  line-height: 1;
+  .svg-icon { width: 1.2em; height: 1.2em; }
   .notice-badge {
     position: absolute;
-    top: 7px;
-    right: -3px;
+    top: -6px;
+    right: -8px;
     background: #f56c6c;
     color: #fff;
     border-radius: 10px;

--
Gitblit v1.7.1