mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 05:02:28 -06:00
less left margin on wrap when tree is expanded
This commit is contained in:
parent
6b763f2e5d
commit
82cf86bea1
|
|
@ -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*/
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue