Commit 2728d913 authored by Ermolaev Timur's avatar Ermolaev Timur

#72 Зафиксировал часы сверху

parent b844c1b0
...@@ -31,6 +31,7 @@ function MonthCalendarBody({month, year, tasks, createTaskInCellHandler, current ...@@ -31,6 +31,7 @@ function MonthCalendarBody({month, year, tasks, createTaskInCellHandler, current
return ( return (
<Box style={{marginBottom: '30px'}}> <Box style={{marginBottom: '30px'}}>
<div style={{position: 'sticky', top: '0px', zIndex: '10', backgroundColor: 'lightgrey'}}>
<CalendarRow <CalendarRow
> >
<CalendarSmallCell xs={1.2}> <CalendarSmallCell xs={1.2}>
...@@ -48,6 +49,7 @@ function MonthCalendarBody({month, year, tasks, createTaskInCellHandler, current ...@@ -48,6 +49,7 @@ function MonthCalendarBody({month, year, tasks, createTaskInCellHandler, current
) )
})} })}
</CalendarRow> </CalendarRow>
</div>
{daysInMonth?.map((day, i)=>{ {daysInMonth?.map((day, i)=>{
return ( return (
<CalendarRow <CalendarRow
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment