Could do better on the padding

This commit is contained in:
MeowcaTheoRange 2023-11-23 12:10:14 -06:00
parent 4b2176552d
commit e760c00998

View file

@ -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");