feat: 设置底部安全区域距离

This commit is contained in:
2025-10-15 20:10:09 +08:00
parent 6c35146b36
commit aee82283b9
2 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
.footer {
// touch-action: pan-x;
padding-bottom: calc(constant(safe-area-inset-bottom) + 8px);
padding-bottom: calc(env(safe-area-inset-bottom) + 8px);
padding-bottom: Max(env(safe-area-inset-bottom), 12px);
}