scrolling and spacing

This commit is contained in:
2024-10-07 11:49:16 -06:00
parent ae89ef41f8
commit 2eaca984df
4 changed files with 9 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ export default function CourseCalendar() {
<div <div
className=" className="
min-h-0 min-h-0
flex-grow
border-4 border-4
border-gray-900 border-gray-900
rounded-lg rounded-lg

View File

@@ -30,7 +30,7 @@ export function DragStyleContextProvider({
return ( return (
<DragStyleContext.Provider value={{ setIsDragging }}> <DragStyleContext.Provider value={{ setIsDragging }}>
<div <div
className={"min-h-0 flex flex-col " + (isDragging ? " dragging " : "")} className={"h-full flex flex-col " + (isDragging ? " dragging " : "")}
> >
{children} {children}
</div> </div>

View File

@@ -13,8 +13,8 @@ export default async function CoursePage({}: {}) {
<div className="h-full flex flex-col"> <div className="h-full flex flex-col">
<DragStyleContextProvider> <DragStyleContextProvider>
<DraggingContextProvider> <DraggingContextProvider>
<div className="flex flex-row min-h-0"> <div className="flex flex-row h-full">
<div className="flex-1 min-h-0 flex flex-col"> <div className="flex-1 h-full flex flex-col">
<CourseNavigation /> <CourseNavigation />
<CourseCalendar /> <CourseCalendar />
</div> </div>

View File

@@ -10,8 +10,8 @@ import DefaultFileUploadTypes from "./DefaultFileUploadTypes";
export default function page() { export default function page() {
return ( return (
<div className="flex justify-center"> <div className="flex justify-center h-full overflow-auto pt-5 ">
<div className=" w-fit mt-5"> <div className=" w-fit ">
<SettingsHeader /> <SettingsHeader />
<DaysOfWeekSettings /> <DaysOfWeekSettings />
<StartAndEndDate /> <StartAndEndDate />
@@ -19,6 +19,9 @@ export default function page() {
<DefaultFileUploadTypes /> <DefaultFileUploadTypes />
<DefaultDueTime /> <DefaultDueTime />
<AssignmentGroupManagement /> <AssignmentGroupManagement />
<br />
<br />
<br />
</div> </div>
</div> </div>
); );