This commit is contained in:
Cay 2026-03-12 14:56:22 +00:00
parent ed9dc20712
commit 61dbc86873
2 changed files with 5 additions and 2 deletions

View File

@ -49,7 +49,10 @@ body {
.building-popup {
position: fixed;
animation: popupFade 0.25s ease;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 420px;

View File

@ -16,7 +16,7 @@ document.querySelectorAll(".building").forEach((b) => {
popup.style.left = rect.left + rect.width / 2 + "px";
popup.style.top = rect.top + rect.height / 2 + "px";
popup.style.display = "block";
//popup.style.display = "block";
// AJAX Gebäudedaten laden
const res = await fetch("/api" + url);