docs: update site responsive

pull/6454/head
tangjinzhou 2023-04-08 21:13:58 +08:00
parent 0b85b84dcf
commit be90b53527
4 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ export default defineComponent({
} }
} }
@media only screen and (max-width: var(--mobile-max-width)) { @media only screen and (max-width: 767.99px) {
#logo { #logo {
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;

View File

@ -125,7 +125,7 @@
} }
} }
@media only screen and (max-width: var(--mobile-max-width)) { @media only screen and (max-width: 767.99px) {
#search-box { #search-box {
display: none; display: none;
} }

View File

@ -42,7 +42,7 @@
} }
} }
@media only screen and (max-width: var(--mobile-max-width)) { @media only screen and (max-width: 767.99px) {
#header { #header {
text-align: center; text-align: center;
} }

View File

@ -9,7 +9,7 @@
cursor: pointer; cursor: pointer;
} }
@media only screen and (max-width: var(--screen-lg)) { @media only screen and (max-width: 992px) {
.toc-affix { .toc-affix {
display: none; display: none;
} }