This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
wasm: center non-resizable UIs
Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX
1 month ago
parent
6f4fc097f8
commit
c15cb7e40e
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
utils/emscripten.html.in
+ 6
- 0
utils/emscripten.html.in
View File
@@ -32,6 +32,12 @@
transform: scale(calc(1 / var(--device-pixel-ratio)));
transform: scale(calc(1 / var(--device-pixel-ratio)));
width: 100vw;
width: 100vw;
height: 100vh;
height: 100vh;
/* center */
margin: auto auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
#error {
#error {
Write
Preview
Loading…
Cancel
Save