Commit f923dd33 authored by Jenny's avatar Jenny

fix: 横屏显示留出底部安全距离

parent 7b4fb3e7
......@@ -46,7 +46,9 @@
// overflow: auto;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-position: center;
padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment