From 717fb2b68a4ad6d4ac5912fb1c34ee4f9f9913be Mon Sep 17 00:00:00 2001 From: yiqiu Date: Tue, 16 Dec 2025 21:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=8C=89=E9=92=AE=E8=B6=85=E5=87=BA=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题: - 按钮高度设置得太大,超出了导航栏 解决: - 减小按钮高度: - 767px:height 从 50px 改为 32px - 575px:height 从 48px 改为 32px - 360px:height 从 44px 改为 28px - 按钮现在完全包含在导航栏内部 - 使用 flex 布局确保内容垂直居中 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- css/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/index.css b/css/index.css index 2494767..39076a6 100644 --- a/css/index.css +++ b/css/index.css @@ -2549,7 +2549,7 @@ html { padding: 0 10px !important; font-size: 10px !important; min-width: auto !important; - height: 50px !important; + height: 32px !important; line-height: 1 !important; display: flex !important; align-items: center !important; @@ -3099,7 +3099,7 @@ html { padding: 0 10px !important; font-size: 10px !important; min-width: auto !important; - height: 48px !important; + height: 32px !important; line-height: 1 !important; display: flex !important; align-items: center !important; @@ -3594,7 +3594,7 @@ html { padding: 0 8px !important; font-size: 9px !important; min-width: auto !important; - height: 44px !important; + height: 28px !important; line-height: 1 !important; display: flex !important; align-items: center !important;