File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/documentation/templates Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1089,5 +1089,5 @@ html:has(.error):after {
1089
1089
}
1090
1090
1091
1091
html : has (.navleft ) {
1092
- overflow-y : hidden;
1092
+ overflow : hidden;
1093
1093
}
Original file line number Diff line number Diff line change @@ -241,6 +241,10 @@ const updateWidth = () => {
241
241
dcmnt . querySelector ( '.main' ) . style . width = ( null ) ;
242
242
dcmnt . querySelector ( '.main' ) . style . width = `${ dcmnt . querySelector ( '.main' ) . offsetWidth - 10 } px`
243
243
} catch ( err_ ) { }
244
+ } else {
245
+ try {
246
+ dcmnt . querySelector ( '.main' ) . style . width = ( null ) ;
247
+ } catch ( err_ ) { }
244
248
}
245
249
} ;
246
250
updateMinHeight ( ) ; updateWidth ( ) ;
@@ -487,5 +491,5 @@ dcmnt.addEventListener('DOMContentLoaded', () => {
487
491
}
488
492
} ) ;
489
493
490
- updateSD ( false ) ; updateMinHeight ( ) ; fetch ( searchurl ) ;
494
+ updateSD ( false ) ; updateMinHeight ( ) ; updateWidth ( ) ; fetch ( searchurl ) ;
491
495
} ) ;
You can’t perform that action at this time.
0 commit comments