From 59953091f02bbb605c3493562b199da710cab114 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 23 Apr 2026 09:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8F=E5=B1=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=96=87=E6=A1=88=E4=B8=A2=E5=A4=B1=EF=BC=9A=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E4=B8=8E=E9=80=80?= =?UTF-8?q?=E5=87=BA=E7=9A=84=E6=96=87=E6=9C=AC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 变更项: 1. 移除 768px 断点下对 account/logout 按钮内部 span 的隐藏规则。 2. 保留小屏文案显示,仅缩小按钮内边距与字号,避免只剩图标。 --- admin/dashboard/templates/base.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/admin/dashboard/templates/base.html b/admin/dashboard/templates/base.html index 5b787f6..0456495 100644 --- a/admin/dashboard/templates/base.html +++ b/admin/dashboard/templates/base.html @@ -792,12 +792,9 @@ .account-btn, .logout-btn { padding: 6px 8px !important; - min-width: 32px; - } - - .account-btn span, - .logout-btn span { - display: none; + min-width: 0; + font-size: 12px !important; + white-space: nowrap; } .subnav-bar {