Fix empty space at the bottom.

This commit is contained in:
Blaz Kristan 2022-04-10 20:58:41 +02:00
parent da33bf3438
commit 39720a11dc
3 changed files with 1355 additions and 1373 deletions

View File

@ -372,10 +372,6 @@ button {
overflow-y: scroll; overflow-y: scroll;
} }
#sliders {
padding: 5px 0;
}
#sliders .labels { #sliders .labels {
padding-top: 3px; padding-top: 3px;
} }

View File

@ -1297,27 +1297,12 @@ function setSliderAndColorControl(idx, applyDef=false)
label.classList.add("hide"); label.classList.add("hide");
} }
} }
/*if (topPosition>0)*/ topPosition += 10; // +padding if (topPosition>0) { topPosition += 5; gId("sliders").style.paddingTop = "5px"; }
else gId("sliders").style.padding = 0;
// set size of fx list // set size of fx list
gId("fx").style.height = `calc(100% - ${topPosition}px)`; gId("fx").style.height = `calc(100% - ${topPosition}px)`;
/*
// set top position of the effect list
gId("fxFind").style.top = topPosition + "px";
topPosition += 42;
var fxList = gId("fxlist");
for (let f of fxList.children) f.style.top = null; // remove top
var selected = fxList.querySelector('.selected');
var sticky = fxList.querySelector('.sticky');
if (sticky) {
sticky.style.top = topPosition + "px";
topPosition += 42;
}
if (selected && !selected.style.top) { // is the sticky element also selected one?
selected.style.top = topPosition + "px";
}
*/
// set html color items on/off // set html color items on/off
var cslLabel = ''; var cslLabel = '';
var sep = ''; var sep = '';

File diff suppressed because it is too large Load Diff