Skip to content

Commit

Permalink
docs: optimize algolia search style (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
kagol authored Dec 4, 2024
1 parent cab4bc9 commit c5e56b6
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions examples/sites/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ b, strong {
position: absolute;
z-index: 1000;
top: 12px;
left: 360px;
left: 210px;
}

.DocSearch-Container {
z-index: 1000;
font-size: 14px;
}

.DocSearch-Button {
Expand All @@ -62,9 +63,9 @@ b, strong {
--docsearch-searchbox-background: #f5f5f5;
}

@media screen and (max-width: 1023px) {
@media screen and (max-width: 814px) {
.search-box {
left: 420px;
left: 230px;
}
}

Expand All @@ -74,12 +75,6 @@ b, strong {
}

.search-box {
left: 360px;
left: 230px;
}
}

@media screen and (max-width: 430px) {
.search-box {
left: 300px;
}
}

0 comments on commit c5e56b6

Please sign in to comment.