feat: prevent page jitter caused by the presence of scroll bars (#808)

This commit is contained in:
ChasLui
2022-12-22 17:46:09 +08:00
committed by GitHub
parent 41ad084489
commit 54702db9ba
5 changed files with 11 additions and 6 deletions

View File

@ -17,6 +17,11 @@
overflow-wrap: anywhere;
word-break: normal;
}
@media screen and (min-width: 1024px) {
.ml-calc {
margin-left: calc(100vw - 100%);
}
}
}
@layer components {