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
className="
min-h-0
flex-grow
border-4
border-gray-900
rounded-lg

View File

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

View File

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

View File

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