Skip to content

Commit

Permalink
fix max width review description
Browse files Browse the repository at this point in the history
  • Loading branch information
eaglethrost committed Oct 29, 2024
1 parent 6f98835 commit 649f1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/course/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default async function ReviewPage({
{/* Show reviews is separated as another client component "ReviewsBar"
so the review page can stay as a server side component to ensure server side
rendering */}
<section className="space-y-4 w-1/2 md:w-full mb-8">
<section className="space-y-4 w-full max-w-[50%] md:max-w-full mb-8">
<Suspense fallback={<div>Loading...</div>}>
<ReviewsBar
courseCode={course.courseCode}
Expand Down

0 comments on commit 649f1fe

Please sign in to comment.