Skip to content

Commit 42d0dbb

Browse files
committed
feat: add ellipsis to long LP names in the course details modal
1 parent 8882f8a commit 42d0dbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/learningpath/CourseDetails.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ const CourseDetailContent = ({
7171
<div className="hero">
7272
{isModalView && (
7373
<Row className="p-0 m-0 d-flex align-items-center modal-header">
74-
<Col>
75-
<h4 className="mb-0 pl-4 text-muted font-weight-normal">
74+
<Col xs={10}>
75+
<h4 className="mb-0 pl-4 text-muted font-weight-normal text-truncate">
7676
<b>Learning Path:</b> {learningPathTitle}
7777
</h4>
7878
</Col>

0 commit comments

Comments
 (0)