fixed Landing page rendering issue

This commit is contained in:
crowbar 2024-10-31 13:32:33 +01:00
parent 2f65d04dda
commit 943ff0f684
2 changed files with 9 additions and 0 deletions

View file

@ -44,6 +44,10 @@ body, html {
color: var(--text-color); color: var(--text-color);
} }
body {
visibility: hidden;
}
body.menu-open { body.menu-open {
overflow: hidden; overflow: hidden;
} }

View file

@ -179,5 +179,10 @@
<script defer src="/static/js/buttonsmove.js"></script> <script defer src="/static/js/buttonsmove.js"></script>
<script defer src="/static/js/sidemenu.js"></script> <script defer src="/static/js/sidemenu.js"></script>
<script defer src="/static/js/autocomplete.js"></script> <script defer src="/static/js/autocomplete.js"></script>
<script>
window.addEventListener('load', function() {
document.body.style.visibility = 'visible';
});
</script>
</body> </body>
</html> </html>