File tree 1 file changed +10
-2
lines changed
src/librustdoc/html/static/css
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,6 @@ nav.sub {
373
373
374
374
.source .sidebar .expanded {
375
375
overflow-y : auto;
376
- width : 300px ;
377
376
}
378
377
379
378
.source .sidebar .expanded > * {
@@ -1390,7 +1389,7 @@ pre.rust {
1390
1389
z-index : 10 ;
1391
1390
}
1392
1391
# source-sidebar {
1393
- width : 300 px ;
1392
+ width : 100 % ;
1394
1393
z-index : 1 ;
1395
1394
overflow : auto;
1396
1395
}
@@ -1707,6 +1706,10 @@ details.rustdoc-toggle[open] > summary.hideme::after {
1707
1706
.rustdoc .source .sidebar {
1708
1707
transition : width .5s ;
1709
1708
}
1709
+
1710
+ .source .sidebar .expanded {
1711
+ width : 300px ;
1712
+ }
1710
1713
}
1711
1714
1712
1715
@media (max-width : 700px ) {
@@ -1995,6 +1998,11 @@ details.rustdoc-toggle[open] > summary.hideme::after {
1995
1998
.search-results div .desc , .search-results .result-description , .item-right {
1996
1999
padding-left : 2em ;
1997
2000
}
2001
+
2002
+ .source .sidebar .expanded {
2003
+ max-width : 100vw ;
2004
+ width : 100vw ;
2005
+ }
1998
2006
}
1999
2007
2000
2008
@media print {
You can’t perform that action at this time.
0 commit comments