Skip to content

Commit

Permalink
fix: update alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
knownotunknown authored and doprz committed Mar 6, 2024
1 parent f3a8a7d commit 7eb3113
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface ScheduleTotalHoursAndCoursesProps {
*/
export default function ScheduleTotalHoursAndCoursess({ scheduleName, totalHours, totalCourses }: ScheduleTotalHoursAndCoursesProps): JSX.Element {
return (
<div className="flex min-w-64 items-center content-center gap-2 flex-wrap uppercase">
<div className="flex min-w-64 content-center gap-2 flex-wrap uppercase items-baseline">
<Text
className="text-[#BF5700]"
variant='h1'
Expand All @@ -27,17 +27,17 @@ export default function ScheduleTotalHoursAndCoursess({ scheduleName, totalHours
</Text>
<Text
variant='h3'
as='span'
className="text-[#1A2024]"
as='div'
className="text-[#1A2024] flex flex-row gap-2 items-center"
>
{`${totalHours} HOURS`}
</Text>
<Text
variant='h4'
as='span'
className="text-[#333F48]"
>
{`${totalCourses} courses`}
<Text
variant='h4'
as='span'
className="text-[#333F48]"
>
{`${totalCourses} courses`}
</Text>
</Text>
</div>
);
Expand Down

0 comments on commit 7eb3113

Please sign in to comment.