From 941031e1b41c368bcd2ab4f6e4dc6223528c8bb4 Mon Sep 17 00:00:00 2001 From: chenxing Date: Thu, 8 Oct 2026 23:27:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor(theme):=20=E7=A7=BB=E9=99=A4=E9=A1=B6?= =?UTF-8?q?=E6=A0=8F=E9=85=8D=E8=89=B2=E5=88=87=E6=8D=A2=E5=99=A8=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=EF=BC=88oapi=20=E4=BB=A3=E7=90=86=E8=BD=AE=E6=8B=8D?= =?UTF-8?q?=E6=9D=BF=EF=BC=9A=E8=AE=BE=E7=BD=AE=E6=94=B6=E6=95=9B=20UserHo?= =?UTF-8?q?me=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本地切换会被服务端生效值收敛打回,不留半残入口;ThemeSwitcher 资产保留(通道 sync 件) --- src/components/layout.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/layout.vue b/src/components/layout.vue index c549772..1976df5 100644 --- a/src/components/layout.vue +++ b/src/components/layout.vue @@ -195,8 +195,8 @@ function linkHomePage() { - -
+
@@ -290,10 +290,6 @@ function linkHomePage() { .header-container .logo-badge { margin: 0 10px 0 0; } -.theme-cap { - height: var(--topbar-h); - margin-right: 6px; -} /* 面包屑「首页」垂直居中:骨架遗留的 .path-nav .icon-category{position:relative;top:1px} 是给老 iconfont 字体字形做的基线补偿,换成 ysch mask 的 1em 方块后反而把图标顶偏; 这里用 inline-flex 真居中并关掉该补偿(不动通道产物,覆盖收在本组件内) */