From d06568bc4927730ab8a7e5add64246415284e4a0 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Fri, 20 Mar 2026 20:20:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20.no-login=20?= =?UTF-8?q?=E7=9A=84=20display:flex=20!important=20=E8=AE=A9JS=E8=83=BD?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E6=98=BE=E9=9A=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/common.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/css/common.css b/css/common.css index 4c729b8..57f7cab 100644 --- a/css/common.css +++ b/css/common.css @@ -116,16 +116,16 @@ header:hover { 登录注册区域 - 撑满高度设计 ============================================ */ -/* 登录注册容器 */ +/* 登录注册容器 — 不可用 !important, 否则 JS 无法通过 inline style 隐藏 */ .no-login { - display: flex !important; - align-items: stretch !important; - height: 100% !important; - gap: 0 !important; - margin: 0 !important; - padding: 0 !important; - flex-direction: row !important; - visibility: visible !important; + display: flex; + align-items: stretch; + height: 100%; + gap: 0; + margin: 0; + padding: 0; + flex-direction: row; + visibility: visible; } /* 注册按钮 - 渐变背景样式,撑满高度 */