Skip to content

Commit

Permalink
🎨(frontend) use p html elements with displayed messages
Browse files Browse the repository at this point in the history
In CourseRunEnrollment component, some messages were using div elements.
  • Loading branch information
kernicPanel committed Feb 5, 2021
1 parent 3e66c57 commit 9f50913
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/js/components/CourseRunEnrollment/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ export const CourseRunEnrollment: React.FC<CourseRunEnrollmentProps & CommonData
<FormattedMessage {...messages.enrolled} />
</a>
) : (
<div className="course-run-enrollment__helptext">
<p className="course-run-enrollment__helptext">
<FormattedMessage {...messages.enrolled} />
</div>
</p>
)}
<div className="course-run-enrollment__helptext">{courseRun.starts_in_message}</div>
<p className="course-run-enrollment__helptext">{courseRun.starts_in_message}</p>
</div>
) : (
<div>
Expand Down

0 comments on commit 9f50913

Please sign in to comment.