Skip to content

Commit

Permalink
fix: zindex for calendar background
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Sep 22, 2024
1 parent 24a1b4b commit 80d074f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const CalendarHeader = ({ currentWeek, actions }: CalendarHeaderProps) => {

const CalendarBg = ({ currentWeek }: { currentWeek: dayjs.Dayjs }) => {
return (
<div className="border-apple-gray-300 grid grid-cols-[2.5rem_repeat(5,_minmax(0,_1fr))] grid-rows-[2.5rem_repeat(30,_minmax(0,_1fr))]">
<div className="border-apple-gray-300 grid grid-cols-[2.5rem_repeat(5,_minmax(0,_1fr))] grid-rows-[2.5rem_repeat(30,_minmax(0,_1fr))] -z-50">
<div className="sticky top-12 z-50 col-span-full col-start-2 grid grid-cols-subgrid border-b-1 bg-white">
{WEEK_DAYS.map((day, i) => (
<div
Expand Down

0 comments on commit 80d074f

Please sign in to comment.