Skip to content

Commit

Permalink
Set course detail card width with container
Browse files Browse the repository at this point in the history
  • Loading branch information
robertying committed Oct 17, 2024
1 parent 5fe411f commit e310158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(main)/courses/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const CourseDetail: React.FC<{

return (
<main className="min-h-dvh flex flex-col justify-center items-center py-16 px-5 prose-h1:mt-4 prose-h1:mb-0 prose-h1:leading-tight prose-h2:mt-4 prose-h2:mb-4 prose-p:my-0">
<div className="card p-12 pb-8 bg-base-100 shadow-xl">
<div className="container card p-12 pb-8 bg-base-100 shadow-xl">
<p>{getSemesterTextFromId(course.semester_id)}</p>
<p>
{course.number}-{course.index}
Expand Down

0 comments on commit e310158

Please sign in to comment.