diff --git a/src/components/DayView.tsx b/src/components/DayView.tsx index 43ad10d6..5e0b8d97 100644 --- a/src/components/DayView.tsx +++ b/src/components/DayView.tsx @@ -4,7 +4,7 @@ import { noEventsMap } from "../pages/Program"; import { markdownCommonStyles } from "../utils/markdownCommonStyles"; import { EventModal } from "./EventModal"; -const INTERVAL_HEIGHT = 30; +const INTERVAL_HEIGHT = 32; export type Event = { id: number; @@ -123,7 +123,7 @@ export const EventCard = ({ width: "95%", zIndex: 10, userSelect: "none", - marginTop: "3px", + marginTop: "2px", color: "white", borderColor: hover ? bgColor : "rgb(229 231 235)", }} @@ -138,7 +138,7 @@ export const EventCard = ({ > {toAmPm(time)} {showRoom && event.room && ( - + {event.room} )} @@ -173,7 +173,7 @@ export const EventCard = ({ )}
{event.track} @@ -339,7 +339,7 @@ const DayView = ({ day }: { day: Day }) => { }; const roomWidths: Record = { - "University of Tasmania Studio Theatre": 170, + "University of Tasmania Studio Theatre": 160, "Hobart CBD and Surrounds": 150, Atrium: 150, }; @@ -352,11 +352,11 @@ const DayView = ({ day }: { day: Day }) => { className={`sticky top-[103px] bg-gray-50 z-20 border-b`} style={{ height: `${INTERVAL_HEIGHT}px` }} > - + {Object.keys(day.rooms).map((roomName, index) => ( { {timeSlots.map(({ time, interval }, index) => ( {time % 15 === 0 ? ( - + {toAmPm(time)} ) : ( @@ -401,10 +401,10 @@ const DayView = ({ day }: { day: Day }) => {