Skip to content

Commit

Permalink
fix: course card height
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-pajak committed Nov 8, 2024
1 parent 4afd513 commit 0610052
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/modules/Dashboard/Courses/CardCourseList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type CardCourseListProps = {

export const CardCourseList = ({ availableCourses }: CardCourseListProps) => {
return (
<>
<div className="flex gap-6 flex-wrap *:h-auto">
{availableCourses &&
availableCourses.map(
({
Expand Down Expand Up @@ -42,6 +42,6 @@ export const CardCourseList = ({ availableCourses }: CardCourseListProps) => {
return null;
},
)}
</>
</div>
);
};
2 changes: 1 addition & 1 deletion apps/web/app/modules/Dashboard/Dashboard.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function DashboardPage() {
<StudentCoursesCarousel studentCourses={studentCourses} />
</div>
</div>
<div className="flex flex-col px-6">
<div className="flex flex-col px-6 lg:px-0">
<div className="flex flex-col lg:p-0">
<h4 className="text-neutral-950 text-2xl font-bold leading-10 pb-1">Available Courses</h4>
<p className="text-lg leading-7 text-neutral-800">
Expand Down

0 comments on commit 0610052

Please sign in to comment.