File tree 1 file changed +3
-3
lines changed
app/components/course-page
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
<div data-test-comment-list {{ did-update this.loadComments @courseStage }} >
2
2
<CoursePage::CommentTimelineItem @author ={{ this.currentUser }} >
3
- <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full mb-4" >
3
+ <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full min-w-0 mb-4" >
4
4
{{! TODO: Pass in language here so that users can choose whether their comment is language-specific }}
5
5
<CommentForm @target ={{ @courseStage }} @commentModelType =" course-stage-comment" class =" rounded" />
6
6
</div >
14
14
{{ else }}
15
15
{{ #each this.sortedComments key =" id" as |comment |}}
16
16
<CoursePage::CommentTimelineItem @author ={{ comment.user }} >
17
- <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full mb-4" >
17
+ <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full min-w-0 mb-4" >
18
18
{{! @glint -expect-error Not ts-ified yet }}
19
19
<CommentCard @comment ={{ comment }} />
20
20
</div >
42
42
{{ #if this.rejectedCommentsAreExpanded }}
43
43
{{ #each this.rejectedComments key =" id" as |comment |}}
44
44
<CoursePage::CommentTimelineItem @author ={{ comment.user }} >
45
- <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full mb-4" >
45
+ <div class =" shadow-sm rounded border border-gray-300 dark:border-white/10 w-full min-w-0 mb-4" >
46
46
{{! @glint -expect-error Not ts-ified yet }}
47
47
<CommentCard @comment ={{ comment }} />
48
48
</div >
You can’t perform that action at this time.
0 commit comments