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; } /* 注册按钮 - 渐变背景样式,撑满高度 */