From e760c00998431cce8c909b71b55e11594eb6ac19 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Thu, 23 Nov 2023 12:10:14 -0600 Subject: [PATCH] Could do better on the padding --- views/scripts/windows.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/scripts/windows.js b/views/scripts/windows.js index 6cff6b7..106c12a 100755 --- a/views/scripts/windows.js +++ b/views/scripts/windows.js @@ -157,8 +157,8 @@ class WindowObject { static createWindow(windowRef, content, srcdoc, w, h) { const windowObject = document.createElement("div"); windowObject.classList.add("window-object"); - windowObject.style.width = `calc(${w}px + 0.5em)`; - windowObject.style.height = `calc(${h}px + 1.5em)`; + windowObject.style.width = `calc(${w}px + 1.5em)`; + windowObject.style.height = `calc(${h}px + 2.5em)`; { const windowManager = document.createElement("div");