mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-12 20:26:37 +08:00
修复部分浏览器判定为app的bug
This commit is contained in:
@@ -84,6 +84,16 @@
|
||||
/* 确保根元素也禁用弹性滚动 */
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
/* 使用动态视口单位,避免移动端地址栏导致的额外滚动 */
|
||||
@supports (height: 100dvh) {
|
||||
#root { min-height: 100dvh; }
|
||||
}
|
||||
|
||||
/* iOS Safari 旧版本兼容 */
|
||||
@supports (-webkit-touch-callout: none) {
|
||||
#root { min-height: -webkit-fill-available; }
|
||||
}
|
||||
|
||||
/* 防止加载时的闪烁 */
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user