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,13 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<meta charset="utf-8">
|
||||
<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-worker.js">
|
||||
<link rel="prefetch" href="libraries/fonts.zip">
|
||||
|
||||
|
||||
<link rel="prefetch" href="libraries/MCAD.zip">
|
||||
<link rel="prefetch" href="libraries/BOSL2.zip">
|
||||
<link rel="prefetch" href="libraries/BOSL.zip">
|
||||
|
|
@ -21,28 +29,14 @@
|
|||
<link rel="prefetch" href="libraries/Stemfie_OpenSCAD.zip">
|
||||
<link rel="prefetch" href="libraries/UB.scad.zip">
|
||||
<link rel="prefetch" href="libraries/openscad-tray.zip">
|
||||
|
||||
|
||||
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/BrowserFS/2.0.0/browserfs.min.js" defer></script> -->
|
||||
<script src="./browserfs.min.js" defer></script>
|
||||
|
||||
<script src="./index.js" defer></script>
|
||||
|
||||
<link rel="icon" href="../public/favicon.ico" />
|
||||
<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" />
|
||||
<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>
|
||||
#root,
|
||||
body,
|
||||
|
|
@ -68,7 +62,7 @@
|
|||
}
|
||||
|
||||
.p-fieldset-legend,
|
||||
.p-fieldset-content {
|
||||
.p-fieldset-content {
|
||||
padding-top: 0 !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
|
@ -118,16 +112,15 @@
|
|||
.p-tabmenu-nav {
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
|
||||
.github-fork-ribbon:before { background-color: #333; }
|
||||
</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>
|
||||
<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"
|
||||
href="https://github.com/openscad/openscad-playground"
|
||||
data-ribbon="Fork me on GitHub"
|
||||
|
|
|
|||
Loading…
Reference in a new issue