Examples: Emscripten+GLFW: revert to use a shell_minimal.html closer to vanilla one, as our fullscreen + misc tweaks to Emscripten+SDL example to match other version.

This commit is contained in:
ocornut
2023-02-02 15:02:18 +01:00
parent 0370856d78
commit b51919dce1
5 changed files with 24 additions and 20 deletions

View File

@ -6,7 +6,7 @@
<title>Dear ImGui GLFW+Emscripten example</title>
<style>
body { margin: 0; background-color: black }
.emscripten {
/*.emscripten {
position: absolute;
top: 0px;
left: 0px;
@ -24,7 +24,8 @@
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
}*/
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
</style>
</head>
<body>