Improved Controls CSS

This commit is contained in:
n1474335 2022-07-01 12:01:48 +01:00
parent 85ffe48743
commit bc949b47d9
4 changed files with 17 additions and 12 deletions

View file

@ -410,6 +410,17 @@ ${navigator.userAgent}
}
}
/**
* Calculates the height of the controls area and adjusts the recipe
* height accordingly.
*/
calcControlsHeight() {
const controls = document.getElementById("controls"),
recList = document.getElementById("rec-list");
recList.style.bottom = controls.clientHeight + "px";
}
}
export default ControlsWaiter;