fix for mobile devices

This commit is contained in:
AT 2023-05-23 09:29:39 +02:00
parent a67373ea96
commit 3548a686e9
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
.App { .App {
width: 100vw; width: 100vw;
height: 100vh; height: 100dvh;
} }
#app-content { #app-content {
height: calc(100vh - 64px); height: calc(100dvh - 64px);
} }
.Toastify__toast-container--top-right { .Toastify__toast-container--top-right {

View File

@ -11,7 +11,7 @@ function MapContainer() {
return ( return (
<UtopiaMap zoom={5} height='calc(100vh - 64px)' width="100%"> <UtopiaMap zoom={5} height='calc(100dvh - 64px)' width="100%">
<Layer <Layer
name='events' name='events'
menuIcon='CalendarIcon' menuIcon='CalendarIcon'