Change CSS and width

This commit is contained in:
Alireza Adli 2023-10-12 11:51:43 -04:00
parent 1169a6afc6
commit 2f5f127873
2 changed files with 3 additions and 2 deletions
app/src/frontend/map

View File

@ -23,7 +23,7 @@ export function CityMap() {
}, []);
return (
<div id="map" style={{ width: '900px', height: '100vh' }}></div>
<div id="map" style={{ width: '100%', height: '100vh' }}></div>
);
}

View File

@ -1,9 +1,10 @@
.map-container {
position: absolute;
top: 76px; /* sync with header positioning*/
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100vh;
min-width: 320px;
}
@media (min-width: 990px) {