[#181] remove calcControlsHeight as the component is always 70px in height now, and it caused issues on mobile UI. It's become obsolete

This commit is contained in:
Robin Scholtes 2023-04-20 21:05:44 +12:00
parent a547935f0a
commit 1fd72363bd
3 changed files with 0 additions and 16 deletions

View file

@ -418,18 +418,6 @@ ${navigator.userAgent}
bakeButton.classList.add("btn-success");
}
}
/**
* 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;