Revert "fix tree causing scrollbar to appear when it shouldn't"

This reverts commit 39918cf811.
This commit is contained in:
Til Schmitter 2026-04-03 21:48:03 +02:00
parent 39918cf811
commit ababa893af
2 changed files with 3 additions and 4 deletions

View file

@ -1633,7 +1633,6 @@ input.ssconf_v {
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
height: auto !important;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
-ms-scroll-chaining: none; -ms-scroll-chaining: none;
@ -1924,7 +1923,7 @@ html.y #tree.nowrap .ntree a+a:hover {
border-radius: .3em; border-radius: .3em;
padding: .2em .5em; padding: .2em .5em;
line-height: 2.3em; line-height: 2.3em;
margin: 0 0 1.5em 0; margin-bottom: 1.5em;
} }
#hdoc, #hdoc,
#ghead { #ghead {

View file

@ -7061,12 +7061,12 @@ var treectl = (function () {
if (fixedpos && atop >= 0) { if (fixedpos && atop >= 0) {
tree.style.position = 'absolute'; tree.style.position = 'absolute';
//tree.style.bottom = ''; tree.style.bottom = '';
fixedpos = false; fixedpos = false;
} }
else if (!fixedpos && atop < 0) { else if (!fixedpos && atop < 0) {
tree.style.position = 'fixed'; tree.style.position = 'fixed';
//tree.style.height = 'auto'; tree.style.height = 'auto';
fixedpos = true; fixedpos = true;
} }