This commit is contained in:
MeowcaTheoRange 2023-11-23 12:12:02 -06:00
parent c428545d20
commit e28fa649a7

View file

@ -157,8 +157,8 @@ class WindowObject {
static createWindow(windowRef, content, srcdoc, w, h) { static createWindow(windowRef, content, srcdoc, w, h) {
const windowObject = document.createElement("div"); const windowObject = document.createElement("div");
windowObject.classList.add("window-object"); windowObject.classList.add("window-object");
windowObject.style.width = `calc(${w}px + 2.5em)`; windowObject.style.width = `calc(${w}px + 1.5em)`;
windowObject.style.height = `calc(${h}px + 2.5em)`; windowObject.style.height = `calc(${h}px + 3.5em)`;
{ {
const windowManager = document.createElement("div"); const windowManager = document.createElement("div");