Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

fix calendar view day component to use td for proper table structure (#277)

Hakan Shehud35804790b42
diff --git a/packages/ui/src/components/databases/calendars/calendar-view-day.tsx b/packages/ui/src/components/databases/calendars/calendar-view-day.tsx
index ea70a3ce..60d65785 100644
--- a/packages/ui/src/components/databases/calendars/calendar-view-day.tsx
+++ b/packages/ui/src/components/databases/calendars/calendar-view-day.tsx
@@ -27,7 +27,7 @@ export const CalendarViewDay = ({
const isToday = isSameDay(date, new Date());
return (
- <div className="animate-fade-in group/calendar-day flex w-full flex-col gap-1 h-40 p-2 border-r first:border-l border-border overflow-auto">
+ <td className="animate-fade-in group/calendar-day flex w-full flex-col gap-1 h-40 p-2 border-r first:border-l border-border overflow-auto">
<div
className={cn(
'flex w-full justify-end text-sm',
@@ -61,6 +61,6 @@ export const CalendarViewDay = ({
</RecordProvider>
);
})}
- </div>
+ </td>
);
};