mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
ux
This commit is contained in:
parent
0b87a4a810
commit
c962d2544f
|
@ -4591,6 +4591,8 @@ function aligngriditems() {
|
||||||
var gridwidth = ebi('ggrid').clientWidth;
|
var gridwidth = ebi('ggrid').clientWidth;
|
||||||
var griditemcount = ebi('ggrid').children.length;
|
var griditemcount = ebi('ggrid').children.length;
|
||||||
var totalgapwidth = em2px * griditemcount;
|
var totalgapwidth = em2px * griditemcount;
|
||||||
|
if (/b/.test(themen + ''))
|
||||||
|
totalgapwidth *= 2.8;
|
||||||
|
|
||||||
if (((griditemcount * em2px) * gridsz) + totalgapwidth < gridwidth) {
|
if (((griditemcount * em2px) * gridsz) + totalgapwidth < gridwidth) {
|
||||||
ebi('ggrid').style.justifyContent = 'left';
|
ebi('ggrid').style.justifyContent = 'left';
|
||||||
|
@ -4671,7 +4673,6 @@ var treectl = (function () {
|
||||||
|
|
||||||
r.hide();
|
r.hide();
|
||||||
ebi('path').style.display = '';
|
ebi('path').style.display = '';
|
||||||
ebi('treeul').innerHTML = '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
r.hide = function () {
|
r.hide = function () {
|
||||||
|
|
Loading…
Reference in a new issue