Skip to content

Commit 2ab3651

Browse files
Fix search section position on small devices
1 parent 2acf6ee commit 2ab3651

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+4-1
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,10 @@ h4 > .notable-traits {
15701570
height: 73px;
15711571
}
15721572

1573-
#main {
1573+
/* This is to prevent the search bar from being underneath the <section>
1574+
* element following it.
1575+
*/
1576+
#main, #search {
15741577
margin-top: 100px;
15751578
}
15761579

0 commit comments

Comments
 (0)