From 5dfb7c1dec8222b0bbccac5b56ad46da1438747e Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Wed, 18 Dec 2019 13:27:51 +0100 Subject: Add commentor name alongside fid for video comments --- client/src/app/app.component.scss | 2 +- client/src/app/shared/video/video-miniature.component.scss | 2 +- .../videos/+video-watch/comment/video-comment.component.html | 10 +++++----- .../videos/+video-watch/comment/video-comment.component.scss | 12 ++++++++++-- .../src/app/videos/+video-watch/video-watch.component.scss | 4 ++++ 5 files changed, 21 insertions(+), 9 deletions(-) (limited to 'client') diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index c95b21ca3..51a7a3dd1 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -25,7 +25,6 @@ height: $header-height; display: flex; align-items: center; - flex: 1; min-width: 0; .icon { @@ -81,6 +80,7 @@ align-items: center; justify-content: flex-end; white-space: nowrap; + flex: 1; } } diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index 4789c2454..3988cc055 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss @@ -3,7 +3,7 @@ @import '_miniature'; $more-button-width: 41px; -$more-margin-right: 10px; +$more-margin-right: 15px; .video-miniature { width: $video-miniature-width; 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 f53852385..e26100346 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 @@ -19,12 +19,12 @@
Highlighted comment
- + {{ comment.createdAt | myFromNow }} + class="comment-date" [title]="comment.createdAt">{{ comment.createdAt | myFromNow }}