update minshell.html padding
This commit is contained in:
parent
97f501240b
commit
26a0f45391
@ -18,7 +18,7 @@
|
||||
body {
|
||||
background-color: rgb(42, 42, 42);
|
||||
margin: 0px;
|
||||
padding: 8px;
|
||||
padding: 0px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* Internet Explorer 10+ */
|
||||
@ -42,7 +42,7 @@
|
||||
let x = 0;
|
||||
let intervalID = window.setInterval(function () {
|
||||
|
||||
Module.resizeWindow(document.documentElement.clientWidth - 16, document.documentElement.clientHeight - 16);
|
||||
Module.resizeWindow(document.documentElement.clientWidth, document.documentElement.clientHeight);
|
||||
|
||||
if (++x === repetitions) {
|
||||
window.clearInterval(intervalID);
|
||||
@ -53,7 +53,7 @@
|
||||
</head>
|
||||
|
||||
<body onload="setResizeInterval(300, 5)"
|
||||
onresize="if(Module.resizeWindow) Module.resizeWindow(document.documentElement.clientWidth-16,document.documentElement.clientHeight-16)">
|
||||
onresize="if(Module.resizeWindow) Module.resizeWindow(document.documentElement.clientWidth,document.documentElement.clientHeight)">
|
||||
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"
|
||||
tabindex="-1"></canvas>
|
||||
<!-- <p id="output" /> -->
|
||||
@ -87,10 +87,10 @@
|
||||
[w, h]
|
||||
);
|
||||
};
|
||||
Module.resizeWindow(document.documentElement.clientWidth - 16, document.documentElement.clientHeight - 16);
|
||||
Module.resizeWindow(document.documentElement.clientWidth, document.documentElement.clientHeight);
|
||||
};
|
||||
</script>
|
||||
{{{ SCRIPT }}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user