Files
HomeDash/web
HomeDash Bot e9fab61a2e fix(ui): 删除 v81 的高特异性 static 钉子,页脚统一固定贴底
真凶(打印命中规则并按特异性排序后确认):
 v81 引入了
   html[data-theme] body:has(.minimal-home) .navi-footer-host,
   html[data-theme] body:not(:has(.minimal-home)) .navi-footer-host { position: static !important }
 特异性 (0,11,4)~(0,11,5),压过此后所有 fixed 规则 (0,4,4),
 使 /workspace 页脚永远停在文档流位置:bottom=737 > 视口 720(第二行掉出视口)、
 页面被撑出滚动条。用户实测症状:"工作区整体可以滑动""底栏只显示备案号""mini 底部看不到"。

本版:整段删除 v81(文档流方案),并以简单选择器统一
 .navi-footer-host / footer > .navi-footer 为 position:fixed; bottom:0,
 内容容器 #app 留 44px 净空避免遮挡。

教训:用 :not(:has(...)) 构造的"通用覆盖"会形成无法覆盖的高特异性钉子。
2026-09-12 20:00:47 +08:00
..