[#181] add breakpoint check in HTMLOperation so desktop doesn't get op description errors

This commit is contained in:
Robin Scholtes 2023-05-10 21:22:38 +12:00
parent d774a50f13
commit 997f26e4f8
2 changed files with 5 additions and 3 deletions

View file

@ -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;