fix tree causing scrollbar to appear when it shouldn't

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

View file

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

View file

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