Update app container element

This commit is contained in:
James Lyne 2021-05-18 15:45:27 +01:00
parent 68094d2ee7
commit 167aebf6f5
3 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@
<strong>LiveAtlas requires JavaScript to work.<br />Please enable it to continue.</strong> <strong>LiveAtlas requires JavaScript to work.<br />Please enable it to continue.</strong>
</noscript> </noscript>
<div id="mcmap" class="dynmap"></div> <div id="app"></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>

View File

@ -101,5 +101,5 @@ API.validateConfiguration().then((config) => {
const app = createApp(App).use(store); const app = createApp(App).use(store);
// app.config.performance = true; // app.config.performance = true;
app.mount('#mcmap'); app.mount('#app');
}); });

View File

@ -193,11 +193,11 @@ input {
} }
} }
.dynmap { #app {
height: 100%; height: 100%;
} }
.dynmap .map .tile img, img { #app .map .tile img, img {
image-rendering: pixelated; image-rendering: pixelated;
} }