Skip to content

Commit

Permalink
fix(theme): align max-width media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 6, 2023
1 parent c6c983e commit d31051a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/client/theme-default/components/VPLocalSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ function formMarkRegex(terms: Set<string>) {
border-radius: 6px;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.shell {
margin: 0;
width: 100vw;
Expand All @@ -687,7 +687,7 @@ function formMarkRegex(terms: Set<string>) {
cursor: text;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.search-bar {
padding: 0 8px;
}
Expand All @@ -701,7 +701,7 @@ function formMarkRegex(terms: Set<string>) {
margin: 8px;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.search-icon {
display: none;
}
Expand All @@ -713,7 +713,7 @@ function formMarkRegex(terms: Set<string>) {
width: 100%;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.search-input {
padding: 6px 4px;
}
Expand Down Expand Up @@ -764,7 +764,7 @@ function formMarkRegex(terms: Set<string>) {
gap: 4px;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.search-keyboard-shortcuts {
display: none;
}
Expand Down Expand Up @@ -808,7 +808,7 @@ function formMarkRegex(terms: Set<string>) {
overflow: hidden;
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.result > div {
margin: 8px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPNavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const classes = computed(() => ({
}
}
@media (max-width: 768px) {
@media (max-width: 767px) {
.content-body {
column-gap: 0.5rem;
}
Expand Down

0 comments on commit d31051a

Please sign in to comment.