fix Menu bar shakes when swiping pages in Safari

This commit is contained in:
evibhm 2023-07-26 09:22:30 +08:00
parent 429ca06289
commit 9348350f09
1 changed files with 10 additions and 8 deletions

View File

@ -16,6 +16,7 @@ a > .hljs {
body-container is necessary because mobile browsers don't seem to like
overflow-x on the body tag when there is a <meta name="viewport"> tag.
*/
@media only screen and (max-width: 420px) {
#body-container {
/*
This is used when the sidebar pushes the body content off the side of
@ -24,6 +25,7 @@ a > .hljs {
*/
overflow-x: clip;
}
}
/* Menu Bar */