mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -06:00
reduce width of tree overflow preview
This commit is contained in:
parent
a6963aaa64
commit
f68b4fb0e7
|
|
@ -7918,11 +7918,15 @@ var treectl = (function () {
|
||||||
|
|
||||||
this.style.top = y + 'px';
|
this.style.top = y + 'px';
|
||||||
this.style.position = 'fixed';
|
this.style.position = 'fixed';
|
||||||
|
this.style.width = 'auto';
|
||||||
|
this.style.minWidth = ebi('tree').offsetWidth + p.offsetLeft - 5 + 'px';
|
||||||
mentered = this;
|
mentered = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
function mleave(e) {
|
function mleave(e) {
|
||||||
this.style.position = '';
|
this.style.position = '';
|
||||||
|
this.style.minWidth = '';
|
||||||
|
this.style.width = '';
|
||||||
mentered = null;
|
mentered = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue