diff --git a/public/css/building.css b/public/css/building.css index 75d3978..956aca7 100644 --- a/public/css/building.css +++ b/public/css/building.css @@ -34,8 +34,8 @@ body { .building-popup { position: fixed; left: 50%; - top: 50%; - transform: translate(-50%, -50%); + top: 50px; + transform: translateX(-50%); width: 900px; max-width: 90vw; @@ -713,12 +713,12 @@ body { @keyframes popupFade { from { opacity: 0; - transform: translate(-50%, -40%); + transform: translateX(-50%) translateY(-20px); } to { opacity: 1; - transform: translate(-50%, -50%); + transform: translateX(-50%) translateY(0); } }