Skip to content

Commit

Permalink
fix: chip mis-alignment in course about page
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoholic committed Apr 29, 2024
1 parent 5b7fb13 commit 6ccd788
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/components/course/course-header/CourseHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@edx/paragon';
import { Link } from 'react-router-dom';
import { AppContext } from '@edx/frontend-platform/react';
import { AccessTimeFilled } from '@edx/paragon/icons';
import { AccessTimeFilled, School } from '@edx/paragon/icons';
import { ReactComponent as Book2 } from '@material-symbols/svg-400/outlined/book_2-fill.svg';

import { CourseContext } from '../CourseContextProvider';
Expand Down Expand Up @@ -98,9 +98,9 @@ const CourseHeader = () => {
/>
</Col>
<Col xs={12} md={7} className="d-flex flex-column justify-content-center">
<div className="mb-4">
<div className="mb-4 d-flex">
<FullChip icon={Book2} accent="mortar" text="COURSE" />
{ isEnrolled && (<FullChip accent="indigo" text="Enrolled" />) }
{ isEnrolled && (<FullChip icon={School} accent="indigo" text="ENROLLED" />) }
</div>
<div className={classNames({ 'mb-4': !course.shortDescription, 'd-flex': true, 'align-items-center': true })}>
<h2>{course.title}</h2>
Expand Down

0 comments on commit 6ccd788

Please sign in to comment.