fix(html): various bugs
* two meta viewport * invalid trailing slashes on void element * audio-tag moved to body
This commit is contained in:
parent
bc88246021
commit
e479da1ae2
1 changed files with 19 additions and 26 deletions
|
|
@ -1,8 +1,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>OpenSCAD Playground</title>
|
||||||
|
<meta name="description" content="OpenSCAD Playground: edit .scad models and render them to STL from the browser (WebAssembly build OpenSCAD, with Monaco editor and STL Viewer)">
|
||||||
|
|
||||||
|
<link rel="icon" href="favicon.ico">
|
||||||
|
<link rel="apple-touch-icon" href="logo192.png">
|
||||||
|
<!-- https://developers.google.com/web/fundamentals/web-app-manifest/ -->
|
||||||
|
<link rel="manifest" href="manifest.json">
|
||||||
|
<meta name="theme-color" content="#000000">
|
||||||
|
|
||||||
<link rel="prefetch" href="openscad.wasm">
|
<link rel="prefetch" href="openscad.wasm">
|
||||||
<link rel="prefetch" href="openscad-worker.js">
|
<link rel="prefetch" href="openscad-worker.js">
|
||||||
|
|
@ -27,22 +35,8 @@
|
||||||
|
|
||||||
<script src="./index.js" defer></script>
|
<script src="./index.js" defer></script>
|
||||||
|
|
||||||
<link rel="icon" href="../public/favicon.ico" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<meta name="theme-color" content="#000000" />
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
|
|
||||||
|
|
||||||
<meta
|
|
||||||
name="description"
|
|
||||||
content="OpenSCAD Playground: edit .scad models and render them to STL from the browser (WebAssembly build OpenSCAD, with Monaco editor and STL Viewer)"
|
|
||||||
/>
|
|
||||||
<link rel="apple-touch-icon" href="logo192.png" />
|
|
||||||
|
|
||||||
<!-- https://developers.google.com/web/fundamentals/web-app-manifest/ -->
|
|
||||||
<link rel="manifest" href="manifest.json" />
|
|
||||||
|
|
||||||
<title>OpenSCAD Playground</title>
|
|
||||||
<style>
|
<style>
|
||||||
#root,
|
#root,
|
||||||
body,
|
body,
|
||||||
|
|
@ -119,15 +113,14 @@
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.github-fork-ribbon:before { background-color: #333; }
|
||||||
</style>
|
</style>
|
||||||
<style>.github-fork-ribbon:before { background-color: #333; }</style>
|
|
||||||
|
|
||||||
<audio id="complete-sound">
|
|
||||||
<source src="complete.wav" type="audio/wav" />
|
|
||||||
Your browser does not support the audio element.
|
|
||||||
</audio>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<audio id="complete-sound">
|
||||||
|
<source src="complete.wav" type="audio/wav">
|
||||||
|
Your browser does not support the audio element.
|
||||||
|
</audio>
|
||||||
<a target="_blank" class="github-fork-ribbon"
|
<a target="_blank" class="github-fork-ribbon"
|
||||||
href="https://github.com/openscad/openscad-playground"
|
href="https://github.com/openscad/openscad-playground"
|
||||||
data-ribbon="Fork me on GitHub"
|
data-ribbon="Fork me on GitHub"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue