diff --git a/apps/antalmanac/src/components/Map/Map.css b/apps/antalmanac/src/components/Map/Map.css
index fed1eb0c8..ad46bf701 100644
--- a/apps/antalmanac/src/components/Map/Map.css
+++ b/apps/antalmanac/src/components/Map/Map.css
@@ -19,7 +19,9 @@
}
/**
+ * Handle styling for the leaflet popup
*/
.leaflet-popup-content-wrapper {
- border-radius: unset;
+ padding: 0;
+ width: 250px;
}
diff --git a/apps/antalmanac/src/components/Map/Map.tsx b/apps/antalmanac/src/components/Map/Map.tsx
index c59c91724..efc81428e 100644
--- a/apps/antalmanac/src/components/Map/Map.tsx
+++ b/apps/antalmanac/src/components/Map/Map.tsx
@@ -272,12 +272,15 @@ export default function CourseMap() {
stackIndex={coursesSameBuildingPrior.length}
>
-
- Class: {marker.title} {marker.sectionType}
+
+ Class: {marker.title}{' '}
+ {marker.sectionType}
-
- Room{allRoomsInBuilding.length > 1 && 's'}: {marker.locations[0].building}{' '}
- {allRoomsInBuilding.join('/')}
+
+
+ Room{allRoomsInBuilding.length > 1 && 's'}:
+ {' '}
+ {marker.locations[0].building} {allRoomsInBuilding.join('/')}
diff --git a/apps/antalmanac/src/components/Map/Marker.tsx b/apps/antalmanac/src/components/Map/Marker.tsx
index edd8fa8f7..34a0110d1 100644
--- a/apps/antalmanac/src/components/Map/Marker.tsx
+++ b/apps/antalmanac/src/components/Map/Marker.tsx
@@ -1,8 +1,8 @@
import { forwardRef, type Ref } from 'react';
import Leaflet from 'leaflet';
import { Marker, Popup } from 'react-leaflet';
-import { Box, Button, Link, Typography } from '@mui/material';
-import { DirectionsWalk as DirectionsWalkIcon } from '@mui/icons-material';
+import { Box, Button, IconButton, Typography } from '@mui/material';
+import { DirectionsWalk as DirectionsWalkIcon, Info } from '@mui/icons-material';
const GOOGLE_MAPS_URL = 'https://www.google.com/maps/dir/?api=1&travelmode=walking&destination=';
const IMAGE_CMS_URL = 'https://cms.concept3d.com/map/lib/image-cache/i.php?mapId=463&image=';
@@ -82,53 +82,64 @@ const LocationMarker = forwardRef(
-
- {location ? (
-
- {location}
-
- ) : (
- {location}
- )}
-
-
{image && (
-
-
-
+
)}
- {children}
+
+
+
+
+ {location}
+
+ {location && (
+
+
+
+ )}
+
- }
- href={`${GOOGLE_MAPS_URL}${lat},${lng}`}
- target="_blank"
- sx={{ alignSelf: 'center' }}
- >
- Directions
-
+ {children}
+
+
+ }
+ href={`${GOOGLE_MAPS_URL}${lat},${lng}`}
+ target="_blank"
+ sx={{ alignSelf: 'center', width: '100%', borderRadius: '0.75rem' }}
+ >
+
+ Directions
+
+
+