Skip to content

Commit 87cbfdf

Browse files
updates
1 parent 0e1991a commit 87cbfdf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/documentation/templates/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,5 +1089,5 @@ html:has(.error):after {
10891089
}
10901090

10911091
html:has(.navleft) {
1092-
overflow-y: hidden;
1092+
overflow: hidden;
10931093
}

src/documentation/templates/page.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ const updateWidth = () => {
241241
dcmnt.querySelector('.main').style.width =(null);
242242
dcmnt.querySelector('.main').style.width = `${dcmnt.querySelector('.main').offsetWidth - 10}px`
243243
} catch (err_) {}
244+
} else {
245+
try {
246+
dcmnt.querySelector('.main').style.width =(null);
247+
} catch (err_) {}
244248
}
245249
};
246250
updateMinHeight();updateWidth();
@@ -487,5 +491,5 @@ dcmnt.addEventListener('DOMContentLoaded', () => {
487491
}
488492
});
489493

490-
updateSD(false);updateMinHeight();fetch(searchurl);
494+
updateSD(false);updateMinHeight();updateWidth();fetch(searchurl);
491495
});

0 commit comments

Comments
 (0)