mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 09:39:03 +08:00
移除iOS根容器锁高以修复底部黑边
This commit is contained in:
+2
-6
@@ -1,7 +1,6 @@
|
||||
@import "antd/dist/reset.css";
|
||||
|
||||
:root {
|
||||
--ss-app-height: 100dvh;
|
||||
--ss-safe-area-top: env(safe-area-inset-top, 0px);
|
||||
--ss-safe-area-right: env(safe-area-inset-right, 0px);
|
||||
--ss-safe-area-bottom: env(safe-area-inset-bottom, 0px);
|
||||
@@ -18,7 +17,6 @@ html,
|
||||
body,
|
||||
#root {
|
||||
height: 100%;
|
||||
min-height: var(--ss-app-height);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
@@ -30,10 +28,8 @@ body,
|
||||
}
|
||||
|
||||
#root {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
width: 100vw;
|
||||
height: var(--ss-app-height);
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
padding-top: var(--ss-safe-area-top);
|
||||
padding-right: var(--ss-safe-area-right);
|
||||
padding-bottom: var(--ss-safe-area-bottom);
|
||||
|
||||
Reference in New Issue
Block a user