AppManager: Fix instance menu scrollbar occurrence during installation
Change-Id: I1c34fd202694d02fb57c438202624b3415bc52eb
diff --git a/core/installer/welcome/static/app-manager.js b/core/installer/welcome/static/app-manager.js
index ff10c1b..5cd568b 100644
--- a/core/installer/welcome/static/app-manager.js
+++ b/core/installer/welcome/static/app-manager.js
@@ -4,6 +4,9 @@
const nav = document.getElementById("menu");
const windowHeight = window.innerHeight - headerHeight;
nav.style.setProperty("--max-height", `${windowHeight}px`);
+ const menu = document.getElementById("menu-nav");
+ const menuHeight = parseFloat(getComputedStyle(document.getElementById('menu-nav')).height.replace("px", "")) + 15;
+ menu.style.setProperty("height", `${menuHeight}px`);
});
let prevWindowHeight = window.innerHeight;