Skip to content

Commit

Permalink
fix: remove incorrect margin x and y (#723)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Wu <[email protected]>
  • Loading branch information
ap0nia and KevinWu098 authored Oct 7, 2023
1 parent 5f04211 commit 308bcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/antalmanac/src/components/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default function CourseMap() {
<Box sx={{ width: '100%', display: 'flex', flexDirection: 'column', flexGrow: 1, height: '100%' }}>
<MapContainer ref={map} center={[33.6459, -117.842717]} zoom={16} style={{ height: '100%' }}>
{/* Menu floats above the map. */}
<Paper sx={{ zIndex: 400, position: 'relative', my: 2, mx: 6.942, marginX: '15%', marginY: 8 }}>
<Paper sx={{ position: 'relative', mx: 'auto', my: 2, width: '70%', zIndex: 400 }}>
<Tabs value={selectedDayIndex} onChange={handleChange} variant="fullWidth" sx={{ minHeight: 0 }}>
{days.map((day) => (
<Tab key={day} label={day} sx={{ padding: 1, minHeight: 'auto', minWidth: '10%' }} />
Expand Down

0 comments on commit 308bcb5

Please sign in to comment.