From b169574b2504fe0902ceed04e167b497459f65af Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 22 Aug 2026 17:42:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(header):=20=E4=BF=AE=E5=A4=8D=E7=AA=84?= =?UTF-8?q?=E5=B1=8F=E5=B1=95=E5=BC=80=E8=8F=9C=E5=8D=95=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=8B=89=E9=AB=98=E4=B8=94=E4=B8=8E=E7=9B=B8?= =?UTF-8?q?=E9=82=BB=E6=8C=89=E9=92=AE=E4=B8=8D=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. svg 缺少 viewBox:core/reset.css 的 svg{height:auto} 覆盖 main.css 的 1em 后无固有宽高比,回退到替换元素默认高度 150px,按钮被撑到 160px。补上与 sprite 符号一致的 viewBox="0 0 1024 1024"。 2. 按钮类从 but 换成 aksrt-nav-icon:与右侧搜索/用户图标共用 header-userbox.css 的 34px 居中图标按钮规范,垂直中心与整行对齐。 --- inc/helpers/header/aksrt-header-navbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/helpers/header/aksrt-header-navbar.php b/inc/helpers/header/aksrt-header-navbar.php index 0fb66051..7b49e386 100644 --- a/inc/helpers/header/aksrt-header-navbar.php +++ b/inc/helpers/header/aksrt-header-navbar.php @@ -338,7 +338,7 @@ if (!function_exists('aksrt_menu_button')) : . $actions . $utility_buttons . $account . ''; $fold = ''; $html = $fold . $button;