From 4a66b2559a3b3b94567a71d5f18d2ad6437fad00 Mon Sep 17 00:00:00 2001 From: HomeDash Bot Date: Sat, 12 Sep 2026 16:55:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E9=A1=B5=E8=84=9A=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=2022px=20=E9=AB=98=E5=BA=A6=E4=B8=8A=E9=99=90=EF=BC=88?= =?UTF-8?q?=E5=AE=9E=E6=B5=8B=E6=9B=BE=E8=A2=AB=E6=92=91=E5=88=B0=20113px?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上一版只改了字号/背景/边框,实测页脚高仍为 113px —— 说明另有规则在撑它, 视觉上依旧一大块。本次对 .navi-footer-host 与 .navi-footer 显式限定 height/max-height: 22px + overflow:hidden + box-sizing:border-box, 把它压成真正的一行小字(配 nowrap + ellipsis,不会显示成半截字)。 --- web/navi.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/navi.css b/web/navi.css index 010cfd1..d9695e7 100644 --- a/web/navi.css +++ b/web/navi.css @@ -1021,6 +1021,10 @@ html[data-theme] .navi-footer-host { } html[data-theme] .navi-footer { + height: 22px !important; + max-height: 22px !important; + min-height: 0 !important; + box-sizing: border-box !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; @@ -2058,6 +2062,13 @@ html.navi-dark body .navi-ws-open:hover { 用户反馈:原来是个大胶囊、区域太大"喧宾夺主",且位置不贴底。 目标:小小一行,安静地待在底部,旁边点缀一句每日一言。 */ html[data-theme] .navi-footer-host { + /* 强制压扁:实测页脚高曾达 113px(其它规则在撑它), + 这里显式限定高度上限,保证"就是一行小字"。 */ + height: 22px !important; + max-height: 22px !important; + min-height: 0 !important; + overflow: hidden !important; + box-sizing: border-box !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important;