fix(ui): 页脚强制 22px 高度上限(实测曾被撑到 113px)

上一版只改了字号/背景/边框,实测页脚高仍为 113px —— 说明另有规则在撑它,
视觉上依旧一大块。本次对 .navi-footer-host 与 .navi-footer 显式限定
height/max-height: 22px + overflow:hidden + box-sizing:border-box,
把它压成真正的一行小字(配 nowrap + ellipsis,不会显示成半截字)。
This commit is contained in:
HomeDash Bot
2026-09-12 16:55:45 +08:00
parent 80fd9b9ffa
commit 4a66b2559a

View File

@ -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;