Skip to content

Commit be90b53

Browse files
committed
docs: update site responsive
1 parent 0b85b84 commit be90b53

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

site/src/layouts/header/Logo.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default defineComponent({
4949
}
5050
}
5151
52-
@media only screen and (max-width: var(--mobile-max-width)) {
52+
@media only screen and (max-width: 767.99px) {
5353
#logo {
5454
padding-right: 0;
5555
padding-left: 0;

site/src/layouts/header/SearchBox.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
}
126126
}
127127

128-
@media only screen and (max-width: var(--mobile-max-width)) {
128+
@media only screen and (max-width: 767.99px) {
129129
#search-box {
130130
display: none;
131131
}

site/src/layouts/header/index.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343
}
4444

45-
@media only screen and (max-width: var(--mobile-max-width)) {
45+
@media only screen and (max-width: 767.99px) {
4646
#header {
4747
text-align: center;
4848
}

site/src/theme/static/responsive.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
cursor: pointer;
1010
}
1111

12-
@media only screen and (max-width: var(--screen-lg)) {
12+
@media only screen and (max-width: 992px) {
1313
.toc-affix {
1414
display: none;
1515
}

0 commit comments

Comments
 (0)