File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -1695,15 +1695,6 @@ function defocusSearchBar() {
16951695
16961696 search . innerHTML = output ;
16971697 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- } ) ;
17071698 initSearchNav ( ) ;
17081699 var elems = document . getElementById ( "titles" ) . childNodes ;
17091700 elems [ 0 ] . onclick = function ( ) { printTab ( 0 ) ; } ;
Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ h4 > .notable-traits {
14251425 margin-left : 0px ;
14261426 }
14271427
1428- # main {
1428+ # main , # search {
14291429 margin-top : 45px ;
14301430 padding : 0 ;
14311431 }
@@ -1579,7 +1579,7 @@ h4 > .notable-traits {
15791579 }
15801580}
15811581
1582- @media (max-width : 416 px ) {
1582+ @media (max-width : 464 px ) {
15831583 # titles , # titles > button {
15841584 height : 73px ;
15851585 }
You can’t perform that action at this time.
0 commit comments