Improved Controls CSS

This commit is contained in:
n1474335 committed 2022-07-01 12:01:48 +01:00
1 parent 85ffe48743
commit bc949b47d9
4 files changed
+17 -12

No files matched your search

+11
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;