Commit f923dd33 authored by Jenny's avatar Jenny

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

parent 7b4fb3e7
...@@ -47,6 +47,8 @@ ...@@ -47,6 +47,8 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; 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> </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