chore(server): hide body in set_password and setup too

This commit is contained in:
Elian Doran 2025-10-09 21:02:18 +03:00
parent 492f481999
commit 4ea2fdf471
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,12 @@
<link rel="stylesheet" href="<%= assetPath %>/stylesheets/theme-next.css">
<link rel="stylesheet" href="<%= assetPath %>/stylesheets/style.css">
<script src="<%= appPath %>/runtime.js" crossorigin type="module"></script>
<style>
body {
/* Prevent the content from being rendered before the main stylesheet loads */
display: none;
}
</style>
</head>
<body lang="<%= currentLocale.id %>" dir="<%= currentLocale.rtl ? 'rtl' : 'ltr' %>">
<div class="container set-password">

View File

@ -7,6 +7,10 @@
<title><%= t("setup.title") %></title>
<style>
body {
/* Prevent the content from being rendered before the main stylesheet loads */
display: none;
}
.lds-ring {
display: inline-block;
position: relative;