refactor: refactor lock scroll

This commit is contained in:
qishaoxuan
2022-07-28 15:52:17 +08:00
parent 439eb90e93
commit f4d3a6eafa
3 changed files with 83 additions and 102 deletions
+2
View File
@@ -14,6 +14,8 @@ html {
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Tahoma,
PingFang SC, Microsoft Yahei, Arial, Hiragino Sans GB, sans-serif,
Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
/* prevent page shaking when scroll show or hide*/
padding-left: calc(100vw - 100%);
}
*,