Rollup merge of #81592 - GuillaumeGomez:rustdoc-ui-fixes, r=Nemo157
Rustdoc UI fixes The first commit fixes this bug (I couldn't figure out why we were setting the width manually and it works as expected without so...):  The second commit fixes a small bug. On tablets or computer with very little width, the search section goes "over" the search input, making it impossible to click on the search input:  The third and last commit fixes two bugs that you can see in this screenshot:  The wheel is going over the search input and the search tab is going under the search results text. The bug was fixed by simply switching to "mobile mode" at a bigger width:  cc ```@pickfire``` r? ```@Nemo157```
This commit is contained in:
@@ -1425,7 +1425,7 @@ h4 > .notable-traits {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#main {
|
||||
#main, #search {
|
||||
margin-top: 45px;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -1579,7 +1579,7 @@ h4 > .notable-traits {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 416px) {
|
||||
@media (max-width: 464px) {
|
||||
#titles, #titles > button {
|
||||
height: 73px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user