less left margin on wrap when tree is expanded

This commit is contained in:
Til Schmitter 2026-04-18 22:43:46 +02:00
parent 6b763f2e5d
commit 82cf86bea1
2 changed files with 3 additions and 3 deletions

View file

@ -4382,10 +4382,10 @@ html.e #docul {
margin-left: 0 !important; margin-left: 0 !important;
} }
html.e #wrap { html.e #wrap {
transform: translateX(calc((var(--negative-space) * 2) - 1.2em)); transform: translateX(calc((var(--negative-space) * 2) - .2em));
padding-right: var(--negative-space); padding-right: var(--negative-space);
position: relative; position: relative;
margin-right: calc((var(--negative-space) * 2) - 1.1em); margin-right: calc((var(--negative-space) * 2) - .1em);
margin-top: var(--negative-space); margin-top: var(--negative-space);
margin-left: 1.2em; margin-left: 1.2em;
/*overflow-x: auto; fix for OOB table when screen space is limited (mobile), but removes sticky header*/ /*overflow-x: auto; fix for OOB table when screen space is limited (mobile), but removes sticky header*/

View file

@ -7522,7 +7522,7 @@ var treectl = (function () {
nq = Math.max(nq, get_evpath().split('/').length - 2); nq = Math.max(nq, get_evpath().split('/').length - 2);
var iw = (treesz + Math.max(0, nq)), var iw = (treesz + Math.max(0, nq)),
w = iw + 'em', w = iw + 'em',
w2 = (iw + 2) + 'em'; w2 = (iw + 1) + 'em';
setcvar('--nav-sz', w); setcvar('--nav-sz', w);
ebi('tree').style.width = w; ebi('tree').style.width = w;