This commit is contained in:
elongstreet88 2024-08-27 09:40:07 +04:00 committed by GitHub
commit a02ca0a769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -208,7 +208,7 @@ socket.on('headerBackground', (data: string) => {
socket.on('header', (data: string) => { socket.on('header', (data: string) => {
if (data) { if (data) {
header.innerHTML = data; header.textContent = data;
header.style.display = 'block'; header.style.display = 'block';
// header is 19px and footer is 19px, recaculate new terminal-container and resize // header is 19px and footer is 19px, recaculate new terminal-container and resize
terminalContainer.style.height = 'calc(100% - 38px)'; terminalContainer.style.height = 'calc(100% - 38px)';