mirror of
https://github.com/PlayEdu/h5.git
synced 2025-06-29 04:22:49 +08:00
下边距优化
This commit is contained in:
parent
3098d99de4
commit
aaa4a1f1fb
@ -119,6 +119,10 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
padding-bottom: calc(
|
||||||
|
55px + constant(safe-area-inset-bottom)
|
||||||
|
); /* 兼容iOS 11.0 - 11.2 */
|
||||||
|
padding-bottom: calc(55px + env(safe-area-inset-bottom)); /* 兼容iOS 11.2+ */
|
||||||
.item {
|
.item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
padding-bottom: calc(
|
||||||
|
80px + constant(safe-area-inset-bottom)
|
||||||
|
); /* 兼容iOS 11.0 - 11.2 */
|
||||||
|
padding-bottom: calc(80px + env(safe-area-inset-bottom)); /* 兼容iOS 11.2+ */
|
||||||
.label {
|
.label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user