File tree 2 files changed +2
-11
lines changed
src/librustdoc/html/static
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -1695,15 +1695,6 @@ function defocusSearchBar() {
1695
1695
1696
1696
search . innerHTML = output ;
1697
1697
showSearchResults ( search ) ;
1698
- var tds = search . getElementsByTagName ( "td" ) ;
1699
- var td_width = 0 ;
1700
- if ( tds . length > 0 ) {
1701
- td_width = tds [ 0 ] . offsetWidth ;
1702
- }
1703
- var width = search . offsetWidth - 40 - td_width ;
1704
- onEachLazy ( search . getElementsByClassName ( "desc" ) , function ( e ) {
1705
- e . style . width = width + "px" ;
1706
- } ) ;
1707
1698
initSearchNav ( ) ;
1708
1699
var elems = document . getElementById ( "titles" ) . childNodes ;
1709
1700
elems [ 0 ] . onclick = function ( ) { printTab ( 0 ) ; } ;
Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ h4 > .notable-traits {
1425
1425
margin-left : 0px ;
1426
1426
}
1427
1427
1428
- # main {
1428
+ # main , # search {
1429
1429
margin-top : 45px ;
1430
1430
padding : 0 ;
1431
1431
}
@@ -1579,7 +1579,7 @@ h4 > .notable-traits {
1579
1579
}
1580
1580
}
1581
1581
1582
- @media (max-width : 416 px ) {
1582
+ @media (max-width : 464 px ) {
1583
1583
# titles , # titles > button {
1584
1584
height : 73px ;
1585
1585
}
You can’t perform that action at this time.
0 commit comments