下边距优化

This commit is contained in:
禺狨 2023-07-03 14:14:44 +08:00
parent 3098d99de4
commit aaa4a1f1fb
2 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,10 @@
text-align: left;
overflow-x: hidden;
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 {
width: 100%;
float: left;

View File

@ -17,6 +17,10 @@
text-align: left;
overflow-x: hidden;
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 {
width: 100%;
height: 40px;