rz
This commit is contained in:
parent
ed9dc20712
commit
61dbc86873
@ -49,7 +49,10 @@ body {
|
||||
|
||||
.building-popup {
|
||||
position: fixed;
|
||||
animation: popupFade 0.25s ease;
|
||||
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
width: 420px;
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user