Auto merge of #80412 - GuillaumeGomez:fix-search-section-pos, r=jyn514

Fix search section position on small devices

Fixes #79526.

This is exactly the same issue fixed in 9c36491538 (in https://github.com/rust-lang/rust/pull/79936) but applied to the search section. When the width becomes too small, the search input goes on its own line to get more space, making it go "under" the section following (so either "main" or "search"). The fix is to simply make the section go more under so that it doesn't go over the search input.

r? `@jyn514`
This commit is contained in:
bors 2021-01-02 18:13:48 +00:00
commit fde6927395
1 changed files with 4 additions and 1 deletions

View File

@ -1582,7 +1582,10 @@ h4 > .notable-traits {
height: 73px;
}
#main {
/* This is to prevent the search bar from being underneath the <section>
* element following it.
*/
#main, #search {
margin-top: 100px;
}