From 1741b6861a7de5415a4be9510457611be20ae57e Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 22 Aug 2026 17:40:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(header):=20=E8=A1=A5=E5=85=A8=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E8=8F=9C=E5=8D=95=E6=8C=89=E9=92=AE=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E7=9A=84=20viewBox=EF=BC=8C=E4=BF=AE=E5=A4=8D=E7=AA=84?= =?UTF-8?q?=E5=B1=8F=E4=B8=8B=E6=8C=89=E9=92=AE=E8=A2=AB=E6=8B=89=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit show-nav-but 折叠按钮的 svg 缺少 viewBox,core/reset.css 的 svg{height:auto} 覆盖 main.css 的 1em 后无固有宽高比可依, 回退到替换元素默认高度 150px,把按钮撑到 160px 高。 补上与 sprite 符号一致的 viewBox="0 0 1024 1024"(对齐 zibll 原版输出)。 --- 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 cd85d762..0fb66051 100644 --- a/inc/helpers/header/aksrt-header-navbar.php +++ b/inc/helpers/header/aksrt-header-navbar.php @@ -339,7 +339,7 @@ if (!function_exists('aksrt_menu_button')) : $fold = ''; + . esc_attr__('展开菜单', 'aksrt') . '">'; $html = $fold . $button;