Skip to content

Commit c5e56b6

Browse files
authored
docs: optimize algolia search style (#2605)
1 parent cab4bc9 commit c5e56b6

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

examples/sites/src/style.css

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ b, strong {
3232
position: absolute;
3333
z-index: 1000;
3434
top: 12px;
35-
left: 360px;
35+
left: 210px;
3636
}
3737

3838
.DocSearch-Container {
3939
z-index: 1000;
40+
font-size: 14px;
4041
}
4142

4243
.DocSearch-Button {
@@ -62,9 +63,9 @@ b, strong {
6263
--docsearch-searchbox-background: #f5f5f5;
6364
}
6465

65-
@media screen and (max-width: 1023px) {
66+
@media screen and (max-width: 814px) {
6667
.search-box {
67-
left: 420px;
68+
left: 230px;
6869
}
6970
}
7071

@@ -74,12 +75,6 @@ b, strong {
7475
}
7576

7677
.search-box {
77-
left: 360px;
78+
left: 230px;
7879
}
7980
}
80-
81-
@media screen and (max-width: 430px) {
82-
.search-box {
83-
left: 300px;
84-
}
85-
}

0 commit comments

Comments
 (0)