diff --git a/resources/wde.js b/resources/wde.js index a44de3e..001dbe5 100644 --- a/resources/wde.js +++ b/resources/wde.js @@ -254,7 +254,7 @@ class WebDesktopEnvironment{ let newWindow = document.createElement("div") newWindow.setAttribute("class", "WindowFrameless") newWindow.setAttribute("windowId", "SuperUniqUUID") //TODO: - newWindow.style.cssText = "position:absolute;width:450px;height:116px; left: 50%;top: 50%;background-color:#FFFFFF;border: 1px solid #000000;box-shadow: 2px 2px 0px #000000;" + newWindow.style.cssText = "position:absolute;width:450px;height:116px; margin-left: -225px; margin-top:-58px;left: 50%;top: 50%;background-color:#FFFFFF;border: 1px solid #000000;box-shadow: 2px 2px 0px #000000;" let alertImage = document.createElement("img") alertImage.setAttribute("src", "/res/sys/wde/icons/ohno.png") @@ -406,4 +406,4 @@ class WebFS{ } return true } -} \ No newline at end of file +}