mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
Improved Controls CSS
This commit is contained in:
parent
85ffe48743
commit
bc949b47d9
4 changed files with 17 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue