fix: 优化移动端背景图显示并更新通知内容

- 为移动端浏览器添加 will-change 和 transform 属性,防止动态 URL 栏导致的背景跳动
- 在站点通知中添加关于背景图缩放问题的反馈提示
This commit is contained in:
二叉树树
2026-01-24 22:33:14 +08:00
parent d83aa08d86
commit bc419d631d
2 changed files with 4 additions and 1 deletions

View File

@@ -218,6 +218,9 @@ const bannerOffset =
pointer-events: none;
z-index: -1;
transition: opacity 0.3s ease-in-out;
/* Prevent background jump on mobile browsers with dynamic URL bars */
will-change: transform;
transform: translateZ(0);
}
#bg-box.loaded {