mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-27 07:58:31 -06:00
improving sidebar
This commit is contained in:
@@ -62,7 +62,7 @@ function CalendarWeek({
|
||||
monthNumber: number;
|
||||
}) {
|
||||
return (
|
||||
<div className="grid grid-cols-7 m-1">
|
||||
<div className="grid grid-cols-7">
|
||||
{week.map((day, dayIndex) => (
|
||||
<Day key={dayIndex} day={day} month={monthNumber} />
|
||||
))}
|
||||
|
||||
@@ -25,19 +25,21 @@ export default function CourseCalendar() {
|
||||
return (
|
||||
<div
|
||||
className="
|
||||
h-full
|
||||
overflow-y-scroll
|
||||
min-h-0
|
||||
border-4
|
||||
border-gray-900
|
||||
rounded-xl
|
||||
bg-slate-950
|
||||
p-1
|
||||
"
|
||||
>
|
||||
<CalendarItemsContextProvider>
|
||||
{months.map((month) => (
|
||||
<CalendarMonth key={month.month + "" + month.year} month={month} />
|
||||
))}
|
||||
</CalendarItemsContextProvider>
|
||||
<div className="h-full overflow-y-scroll pe-1">
|
||||
<CalendarItemsContextProvider>
|
||||
{months.map((month) => (
|
||||
<CalendarMonth key={month.month + "" + month.year} month={month} />
|
||||
))}
|
||||
</CalendarItemsContextProvider>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user