diff --git a/.env b/.env index 3dd4857..d8d2c6b 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ REACT_APP_PUBLIC_PATH = https://localhost:3000/ -REACT_APP_API_ADDR = https://backend.alpha-map.vault48.org/ +REACT_APP_API_ADDR = https://backend.map.vault48.org REACT_APP_OSRM_URL = https://vault48.org:5001/route/v1 REACT_APP_OSRM_PROFILE = bike diff --git a/docker/www/nginx.conf b/docker/www/nginx.conf index 7fbacbd..dff8b0b 100644 --- a/docker/www/nginx.conf +++ b/docker/www/nginx.conf @@ -34,9 +34,6 @@ http { location / { gzip_static on; try_files $uri @index; - } - - location @index { add_header Cache-Control "no-store, no-cache, must-revalidate"; expires -1; try_files /index.html =404; diff --git a/src/styles/dialogs.scss b/src/styles/dialogs.scss index b0cf936..20e86e7 100644 --- a/src/styles/dialogs.scss +++ b/src/styles/dialogs.scss @@ -342,12 +342,12 @@ align-items: center; justify-content: center; fill: darken(white, 30%); - background: darken(white, 8%); + background: transparentize(white, 0.9); cursor: pointer; transition: background 250ms, transform 500ms; &:hover { - background: darken(white, 10%); + background: transparentize(white, 0.95); } } diff --git a/src/styles/map.scss b/src/styles/map.scss index 38d93f8..a541f8f 100644 --- a/src/styles/map.scss +++ b/src/styles/map.scss @@ -12,7 +12,28 @@ } .leaflet-control-zoom { - display: none; + width: 32px; + opacity: 0.5; + transition: opacity 0.1s; + + &:hover { + opacity: 1; + } +} + +a.leaflet-control-zoom-in, a.leaflet-control-zoom-out { + width: 32px; + height: 32px; + display: flex; + align-items: center; + justify-content: center; + + &:hover { + width: 32px; + height: 32px; + display: flex; + opacity: 1; + } } .leaflet-touch .leaflet-bar a {