diff --git a/app/timetable/nownext/now-and-next.tsx b/app/timetable/nownext/now-and-next.tsx index 9553e12f..58fb791b 100644 --- a/app/timetable/nownext/now-and-next.tsx +++ b/app/timetable/nownext/now-and-next.tsx @@ -114,7 +114,7 @@ const TimeSlot = ({session,numberOfSessions,basic}) => {

{session?.title}

{session?.artist?.name}

- {session?.location } --- + {session?.location }
{/* {JSON.stringify(session,null,2)} */} @@ -133,9 +133,9 @@ const SingleTimeSlot = ({session,numberOfSessions}) => { const RoomHeaders = ({rooms,day,numberOfSessions}) => { const gridSize = numberOfSessions < 2 ? 5 : numberOfSessions - - return
- {rooms.map((location)=>{ return
{location}
})} + const gridCss = `grid-cols-${gridSize}` + return
+ {rooms.map((location)=>{ return
{location}{numberOfSessions}
})}
} diff --git a/tailwind.config.ts b/tailwind.config.ts index e74a3a20..ae36f2cb 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -7,7 +7,9 @@ import { fontFamily } from "tailwindcss/defaultTheme"; module.exports = { content: ["./components/**/*.{js,ts,jsx,tsx}", "./app/**/*.{js,ts,jsx,tsx}"], darkMode: "class", - safelist: ["dark", "light"], + safelist: ["dark", "light",{ + pattern: /grid/ + }], theme: { colors: { transparent: "transparent",