File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/librustdoc/html/static/css Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,6 @@ nav.sub {
373373
374374.source .sidebar .expanded {
375375 overflow-y : auto;
376- width : 300px ;
377376}
378377
379378.source .sidebar .expanded > * {
@@ -1390,7 +1389,7 @@ pre.rust {
13901389 z-index : 10 ;
13911390}
13921391# source-sidebar {
1393- width : 300 px ;
1392+ width : 100 % ;
13941393 z-index : 1 ;
13951394 overflow : auto;
13961395}
@@ -1707,6 +1706,10 @@ details.rustdoc-toggle[open] > summary.hideme::after {
17071706 .rustdoc .source .sidebar {
17081707 transition : width .5s ;
17091708 }
1709+
1710+ .source .sidebar .expanded {
1711+ width : 300px ;
1712+ }
17101713}
17111714
17121715@media (max-width : 700px ) {
@@ -1995,6 +1998,11 @@ details.rustdoc-toggle[open] > summary.hideme::after {
19951998 .search-results div .desc , .search-results .result-description , .item-right {
19961999 padding-left : 2em ;
19972000 }
2001+
2002+ .source .sidebar .expanded {
2003+ max-width : 100vw ;
2004+ width : 100vw ;
2005+ }
19982006}
19992007
20002008@media print {
You can’t perform that action at this time.
0 commit comments