From f65c655a08724da85415e2baf63aec00225e508f Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Sat, 12 May 2018 12:53:18 +0300 Subject: [PATCH] add link for comment to time --- web/app/components/comment/__time/comment__time.scss | 5 +++++ web/app/components/comment/comment.jsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/app/components/comment/__time/comment__time.scss b/web/app/components/comment/__time/comment__time.scss index c45e1378..9b4eb92c 100644 --- a/web/app/components/comment/__time/comment__time.scss +++ b/web/app/components/comment/__time/comment__time.scss @@ -2,4 +2,9 @@ margin-left: 8px; vertical-align: middle; color: #999; + text-decoration: none; + + &:hover { + text-decoration: underline; + } } diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index ff092674..72d6426d 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -259,7 +259,7 @@ export default class Comment extends Component { isUserIdVisible && ({o.user.id}) } - {o.time} + {o.time} { isAdmin && userBlocked && (