修复bug

This commit is contained in:
MasonLiu committed 2026-09-14 22:14:06 +08:00
1 parent 0e7265481f
commit 4ad03b9c1e
3 files changed
+13 -2

No files matched your search

+7
View File
@@ -65,6 +65,13 @@ window.LOGO_CONFIG = {
.hud{position:fixed;pointer-events:none;font-size:12px;letter-spacing:2px;
color:rgba(0,255,65,.75);white-space:nowrap;}
.hud.tl{top:22px;left:66px;} .hud.tr{top:22px;right:66px;}
/* 移动端:两行 HUD 文案较长,窄屏下会相互重叠并溢出;改为缩小字号/字距,
并将两行上下堆叠于左上角,超长时省略,避免遮挡与横向溢出 */
@media (max-width:767px){
.hud{font-size:10px;letter-spacing:1px;max-width:calc(100vw - 84px);overflow:hidden;text-overflow:ellipsis;}
.hud.tl{top:20px;left:66px;}
.hud.tr{top:38px;left:66px;right:auto;}
}
/* 动画层(结尾坍缩) */
#animLayer{position:fixed;inset:0;z-index:10;overflow:hidden;background:var(--bg);