Change CSS and width
This commit is contained in:
parent
1169a6afc6
commit
2f5f127873
app/src/frontend/map
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user