mirror of
https://github.com/gchq/CyberChef.git
synced 2025-07-05 20:32:21 -04:00
[#181] add breakpoint check in HTMLOperation so desktop doesn't get op description errors
This commit is contained in:
parent
d774a50f13
commit
997f26e4f8
2 changed files with 5 additions and 3 deletions
|
@ -866,7 +866,7 @@ class App {
|
|||
*/
|
||||
updateVisibility( elm, isVisible ){
|
||||
isVisible ? elm.classList.remove("hidden") : elm.classList.add("hidden");
|
||||
}
|
||||
}h
|
||||
|
||||
/**
|
||||
* Set desktop UI ( on init and on window resize events )
|
||||
|
@ -901,7 +901,7 @@ class App {
|
|||
* Be mindful to update these fixed numbers accordingly in the stylesheets
|
||||
* ( themes/_structure ) if you make changes to those elements' height.
|
||||
*/
|
||||
assignAvailableHeight( isMobile ){
|
||||
assignAvailableHeight(){
|
||||
const bannerHeight = 40;
|
||||
const controlsHeight = 50;
|
||||
const operationsHeight = 80;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue