Skip to content

Commit a664485

Browse files
committed
fix(site): add the correct responsive position for .search-box
1 parent 4989269 commit a664485

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/sites/src/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ strong {
2828

2929
/* Algolia 搜索 */
3030

31+
/** 大屏幕时,有副标题的占位,所以向后移除 */
32+
@media screen and (min-width: 1150px){
33+
.search-box{
34+
left: 340px!important;
35+
}
36+
}
37+
3138
.search-box {
3239
position: absolute;
3340
z-index: 1000;

0 commit comments

Comments
 (0)