diff --git a/parts/header.php b/parts/header.php index 9e48743..b890c3a 100644 --- a/parts/header.php +++ b/parts/header.php @@ -21,7 +21,7 @@
diff --git a/src/app.css b/src/app.css index 3bc03be..f5fa67d 100644 --- a/src/app.css +++ b/src/app.css @@ -375,6 +375,13 @@ a#navbarDropdownLang.nav-link.dropdown-toggle::after { background-color: white; opacity: 0; visibility: hidden; + transition: opacity 0.3s ease-in; +} + +@media (max-width: 480px) { + #downloadPlaneMessage { + bottom: 15%; + } } #downloadPlaneMessage:before { diff --git a/src/map.js b/src/map.js index c6536a7..c582d3f 100644 --- a/src/map.js +++ b/src/map.js @@ -399,6 +399,7 @@ loader.load(function (loader, resources) { $("#downloadPlaneMessage").css("visibility", "visible"); $("#closePlane").on("click", function () { $("#canvas3d").css("display", "none"); + $("#downloadPlaneMessage").css("display", "none"); $(this).css("display", "none"); }); $("#downloadPlaneMessage").on("click", function () {