diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.html b/client/src/app/videos/+video-watch/comment/video-comment.component.html index d5aacf107..4753641bd 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.html @@ -11,7 +11,7 @@
-
+
@@ -81,5 +81,7 @@
+ + diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.ts b/client/src/app/videos/+video-watch/comment/video-comment.component.ts index 0d48f0a82..8c376d654 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.ts @@ -22,6 +22,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { @Input() commentTree: VideoCommentThreadTree @Input() inReplyToCommentId: number @Input() highlightedComment = false + @Input() firstInThread = false @Output() wantedToDelete = new EventEmitter() @Output() wantedToReply = new EventEmitter() diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html index 8f5c583d3..e25efc3ee 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html @@ -46,6 +46,7 @@ [inReplyToCommentId]="inReplyToCommentId" [commentTree]="threadComments[highlightedThread.id]" [highlightedComment]="true" + [firstInThread]="true" (wantedToReply)="onWantedToReply($event)" (wantedToDelete)="onWantedToDelete($event)" (threadCreated)="onThreadCreated($event)" @@ -54,36 +55,38 @@ > -
+
- -
- - - - - - View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }} and others - - - View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }} + > +
+ + + + + + View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }} and others + + + View {{ comment.totalReplies }} replies from {{ video?.account?.displayName || 'the author' }} + - - View {{ comment.totalReplies }} replies + View {{ comment.totalReplies }} replies + + +
+ - -
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.scss b/client/src/app/videos/+video-watch/comment/video-comments.component.scss index 600bc1cee..f95ff5aba 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.scss @@ -9,8 +9,6 @@ font-weight: $font-semibold; font-size: 15px; cursor: pointer; - margin-left: 46px; - margin-bottom: 10px; } .glyphicon, .comment-thread-loading {