Skip to content

Commit 7f82a19

Browse files
Fixes the search box overlapping with content when first shown (#666)
1 parent 71d4493 commit 7f82a19

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/theme/book.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,7 @@ mark.fade-out {
14171417
margin-left: auto;
14181418
margin-right: auto;
14191419
max-width: 750px;
1420+
display: block;
14201421
}
14211422
#searchbar {
14221423
width: 100%;

src/theme/stylus/searchbar.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ mark.fade-out {
2121
margin-left: auto;
2222
margin-right: auto;
2323
max-width: $content-max-width;
24+
display: block;
2425
}
2526

2627
#searchbar {
@@ -64,3 +65,4 @@ ul#searchresults {
6465
font-style: normal;
6566
}
6667
}
68+

0 commit comments

Comments
 (0)