修复手机页面滚动

This commit is contained in:
whyour 2023-03-19 15:11:28 +08:00
parent 666545ff03
commit 7291098f98

View File

@ -9,9 +9,17 @@
url('../assets/fonts/SourceCodePro-Regular.ttf') format('truetype');
}
body {
position: fixed;
top: 0;
left: 0;
}
#root {
height: 100vh;
height: calc(100vh - var(--vh-offset, 0px));
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.ant-modal-body {