Commit 06eb4aef by 李伟康

commit 替换envSafeAreaInsetBottom、constantSafeAreaInsetBottom

1 parent c475b8cd
......@@ -44,14 +44,14 @@
color: #8A8C90;
display: flex;
flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden;
}
.tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
.layout .pagedetail {
......@@ -62,7 +62,7 @@
position: absolute;
/* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%;
}
\ No newline at end of file
......@@ -44,14 +44,15 @@
color: #8A8C90;
display: flex;
flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden;
}
.tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
.layout .pagedetail {
......@@ -62,7 +63,7 @@
position: absolute;
/* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom)); */
width: 100%;
}
\ No newline at end of file
......@@ -59,8 +59,8 @@
background: #FFFFFF;
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a;
border-radius: var(--fontSize32) var(--fontSize32) 0 0;
height: calc(100% - var(--fontSize490) - constant(safe-area-inset-bottom));
height: calc(100% - var(--fontSize490) - env(safe-area-inset-bottom));
height: calc(100% - var(--fontSize490) - var(--constantSafeAreaInsetBottom));
height: calc(100% - var(--fontSize490) - var(--envSafeAreaInsetBottom));
padding: var(--fontSize30) var(--fontSize36) var(--fontSize80);
overflow-y: scroll;
}
......
......@@ -44,14 +44,14 @@
color: #8A8C90;
display: flex;
flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden;
}
.tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
}
.layout .pagedetail {
......@@ -62,7 +62,7 @@
position: absolute;
/* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!