diff --git a/package.json b/package.json index 157ff7e9..98259547 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.5-s", + "version": "0.3.5-u", "keywords": [ "Remote Management", "Intel AMT", diff --git a/public/scripts/amt-terminal-0.0.2.js b/public/scripts/amt-terminal-0.0.2.js index 2e9b0b10..d93b7881 100644 --- a/public/scripts/amt-terminal-0.0.2.js +++ b/public/scripts/amt-terminal-0.0.2.js @@ -21,6 +21,7 @@ var CreateAmtRemoteTerminal = function (divid) { obj.width = 80; // 80 or 100 obj.height = 25; // 25 or 30 + obj.heightLock = 0; var _Terminal_CellHeight = 21; var _Terminal_CellWidth = 13; @@ -749,6 +750,13 @@ var CreateAmtRemoteTerminal = function (divid) { for (var i in scrollBackBuffer) { backbuffer += scrollBackBuffer[i]; } obj.DivElement.innerHTML = "" + backbuffer + buf + closetag + ""; obj.DivElement.scrollTop = obj.DivElement.scrollHeight; + if (obj.heightLock == 0) { setTimeout(obj.TermLockHeight, 10); } + } + + obj.TermLockHeight = function () { + obj.heightLock = obj.DivElement.clientHeight; + obj.DivElement.style['height'] = obj.DivElement.parentNode.style['height'] = obj.heightLock + 'px'; + obj.DivElement.style['overflow-y'] = 'scroll'; } obj.TermInit = function () { obj.TermResetScreen(); } diff --git a/public/styles/style.css b/public/styles/style.css index 492da359..fd44482b 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -2140,14 +2140,11 @@ a { #termarea3x { background: black; text-align: center; - height: 450px; + height: 500px; position: relative; } #Term { - height: 450px; - max-height: 450px; - overflow-y: scroll; background: black; margin: 0; padding: 0; diff --git a/views/default-min.handlebars b/views/default-min.handlebars index 278b9cc5..2f957771 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -1 +1 @@ -
{{{logoutControl}}}
My Devices | My Account | My Events | My Files | My Users | My Server |
{{{logoutControl}}}
My Devices | My Account | My Events | My Files | My Users | My Server |