Could do better on the padding
This commit is contained in:
parent
4b2176552d
commit
e760c00998
1 changed files with 2 additions and 2 deletions
|
@ -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 + 0.5em)`;
|
windowObject.style.width = `calc(${w}px + 1.5em)`;
|
||||||
windowObject.style.height = `calc(${h}px + 1.5em)`;
|
windowObject.style.height = `calc(${h}px + 2.5em)`;
|
||||||
|
|
||||||
{
|
{
|
||||||
const windowManager = document.createElement("div");
|
const windowManager = document.createElement("div");
|
||||||
|
|
Loading…
Reference in a new issue