fix broken display for 'select a server' page
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s

This commit is contained in:
Corban-Lee Jones 2024-08-13 00:01:24 +01:00
parent 361942face
commit cafa51f855
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ function selectServer(primaryKey) {
loadedServers[primaryKey].currentlyActive = true;
$("#noSelectedServer").hide();
$("#selectedServerContainer").show();
$("#selectedServerContainer").show().css("display", "flex");
$(document).trigger("selectedServerChange");
}

View File

@ -22,7 +22,7 @@
</ul>
</div>
<div class="flex-grow-1 container-fluid bg-body overflow-y-auto" style="min-width: 0;">
<div id="noSelectedServer" class="h-100 d-flex justify-content-center align-items-center">
<div id="noSelectedServer" class="h-100 justify-content-center align-items-center">
<div class="text-center">
<img src="{% static '/images/pyrss_logo.webp' %}" alt="PYRSS Logo">
<h1 class="fw-bold mb-4">PYRSS</h1>