This commit is contained in:
Cay 2026-03-12 15:01:50 +00:00
parent 143803a604
commit 1f16b2472c

View File

@ -13,8 +13,8 @@ document.querySelectorAll(".building").forEach((b) => {
// Position des Gebäudes
const rect = b.getBoundingClientRect();
popup.style.left = rect.left + rect.width / 2 + "px";
popup.style.top = rect.top + rect.height / 2 + "px";
popup.style.left = "50%";
popup.style.top = "50%";
//popup.style.display = "block";