Skip to content

Commit

Permalink
fix: update margin bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
cookieMonsterDev committed Aug 3, 2024
1 parent 621f6f4 commit 58970fe
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/calendar/month-view/month-week-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const MonthWeekView: React.FC<MonthWeekViewProps> = ({
);
})}
</div>
<div className="mt-10 mb-6 absolute inset-0 space-y-1 overflow-hidden">
<div className="mt-10 mb-5 absolute inset-0 space-y-1 overflow-hidden">
<MonthWeekEventsView date={week[3]} groups={limitedGroups} />
<div className="min-h-6 flex">
{week.map((day) => {
Expand Down
36 changes: 36 additions & 0 deletions src/events-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,40 @@ export const eventsMock: Event[] = [
end_date: add(startOfToday(), { days: 1, hours: 6, minutes: 30 }),
title: "Tomorrow event 2",
},
{
id: "20",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 1",
},
{
id: "21",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 2",
},
{
id: "22",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 3",
},
{
id: "23",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 4",
},
{
id: "24",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 5",
},
{
id: "25",
start_date: add(startOfToday(), { days: 7 }),
end_date: add(startOfToday(), { days: 7 }),
title: "Next week 6",
},
];

0 comments on commit 58970fe

Please sign in to comment.