Fix canvas not taking up full space in Regional and Global map views

This commit is contained in:
Daniel S. Hansen
2025-07-31 14:51:25 -07:00
parent e6b7d82310
commit d2716f6f84
3 changed files with 2 additions and 3 deletions
@@ -1,6 +1,5 @@
import React from "react";
import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet";
// import 'leaflet/dist/leaflet.css';
export default function GlobalMapCanvas() {
const position = [45.61142478054226, -122.49630033167544]; // [latitude, longitude]
@@ -1,6 +1,5 @@
import React from "react";
import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet";
// import 'leaflet/dist/leaflet.css';
export default function GlobalMapCanvas() {
const position = [45.61142478054226, -122.49630033167544]; // [latitude, longitude]
+2 -1
View File
@@ -49,7 +49,8 @@ export default function Dashboard() {
<>
<Grid css={styles}
templateRows="1fr 11fr"
templateColumns="1fr 20fr"
// templateColumns="1fr 20fr"
templateColumns="auto 1fr"
height="100vh"
width="100vw"
>