fix: async course display size (#181)

This commit is contained in:
Samuel Gunter
2024-03-20 11:03:23 -05:00
committed by GitHub
parent 5ed81e4be9
commit 949bbb0835

View File

@@ -57,7 +57,11 @@ export default function CalendarCourseCell({
return ( return (
<div <div
className={clsx( className={clsx(
'h-full min-w-full w-0 flex justify-center rounded p-2 cursor-pointer', 'h-full w-0 flex justify-center rounded p-2 cursor-pointer screenshot:p-1.5',
{
'min-w-full': timeAndLocation,
'w-full': !timeAndLocation,
},
fontColor, fontColor,
className className
)} )}