From 83e9886eedbbcd94292edd3aa135f7c357c9f67a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 May 2020 14:41:24 +0200 Subject: [PATCH] Add link to the account page in comment --- .../comment/video-comment.component.html | 14 ++++++++++---- .../comment/video-comment.component.scss | 9 ++++++--- 2 files changed, 16 insertions(+), 7 deletions(-) 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 617d0fa41..002de57e4 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 @@ -20,10 +20,16 @@
Highlighted comment
- + {{ comment.createdAt | myFromNow }}
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.scss b/client/src/app/videos/+video-watch/comment/video-comment.component.scss index 5df5e3ecf..7c4656931 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.component.scss +++ b/client/src/app/videos/+video-watch/comment/video-comment.component.scss @@ -63,13 +63,16 @@ } .comment-account { - @include disable-default-a-behaviour; - word-break: break-all; - color: var(--mainForegroundColor); font-weight: 600; font-size: 90%; + a { + @include disable-default-a-behaviour; + + color: var(--mainForegroundColor); + } + .comment-account-fid { opacity: .6; } -- 2.25.1