Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Dec 23, 2021
1 parent 5eedcdb commit 0090643
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>

viewer.srcdoc = document.getElementById( 'PlaceholderHTML' ).innerHTML;
viewer.style.display = 'unset';

}

filterInput.value = extractQuery();
Expand Down Expand Up @@ -407,21 +407,19 @@ <h1><a href="https://threejs.org">three.js</a></h1>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="../files/main.css">
<style>
section {
color: rgb(117, 117, 117);
padding: 1em;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%)
html, body {
height: 100%;
}
body {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<section>
<p>Select an example from the sidebar.</p>
</section>
Select an example from the sidebar
</body>
</html>
</template>
Expand Down

0 comments on commit 0090643

Please sign in to comment.