mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Improved Controls CSS
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user