Skip to content

Commit d31051a

Browse files
committedAug 6, 2023
fix(theme): align max-width media queries
1 parent c6c983e commit d31051a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎src/client/theme-default/components/VPLocalSearchBox.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ function formMarkRegex(terms: Set<string>) {
668668
border-radius: 6px;
669669
}
670670
671-
@media (max-width: 768px) {
671+
@media (max-width: 767px) {
672672
.shell {
673673
margin: 0;
674674
width: 100vw;
@@ -687,7 +687,7 @@ function formMarkRegex(terms: Set<string>) {
687687
cursor: text;
688688
}
689689
690-
@media (max-width: 768px) {
690+
@media (max-width: 767px) {
691691
.search-bar {
692692
padding: 0 8px;
693693
}
@@ -701,7 +701,7 @@ function formMarkRegex(terms: Set<string>) {
701701
margin: 8px;
702702
}
703703
704-
@media (max-width: 768px) {
704+
@media (max-width: 767px) {
705705
.search-icon {
706706
display: none;
707707
}
@@ -713,7 +713,7 @@ function formMarkRegex(terms: Set<string>) {
713713
width: 100%;
714714
}
715715
716-
@media (max-width: 768px) {
716+
@media (max-width: 767px) {
717717
.search-input {
718718
padding: 6px 4px;
719719
}
@@ -764,7 +764,7 @@ function formMarkRegex(terms: Set<string>) {
764764
gap: 4px;
765765
}
766766
767-
@media (max-width: 768px) {
767+
@media (max-width: 767px) {
768768
.search-keyboard-shortcuts {
769769
display: none;
770770
}
@@ -808,7 +808,7 @@ function formMarkRegex(terms: Set<string>) {
808808
overflow: hidden;
809809
}
810810
811-
@media (max-width: 768px) {
811+
@media (max-width: 767px) {
812812
.result > div {
813813
margin: 8px;
814814
}

‎src/client/theme-default/components/VPNavBar.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const classes = computed(() => ({
169169
}
170170
}
171171
172-
@media (max-width: 768px) {
172+
@media (max-width: 767px) {
173173
.content-body {
174174
column-gap: 0.5rem;
175175
}

0 commit comments

Comments
 (0)
Please sign in to comment.