moved hiden div to inline css

This commit is contained in:
buttle 2021-06-20 17:53:15 +02:00
parent 8e61892290
commit caf3e3d389
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
.model-wrap { .model-wrap {
padding: 1em; padding: 1em;
display: none;
/*background-color: lightgray;*/ /*background-color: lightgray;*/
} }

View File

@ -57,7 +57,7 @@ model-viewer {
{{name}} {{name}}
</h4> </h4>
<div class="model-wrap"> <div class="model-wrap" style="display:none">
<div id="model" style="display:absolute"> <div id="model" style="display:absolute">
<model-viewer id="3d-model" <model-viewer id="3d-model"
reveal="interaction" reveal="interaction"