From dd7436e0053a4dbe9be687d2ac0cbf7d5eb747a1 Mon Sep 17 00:00:00 2001 From: Vyrtsev Mikhail Date: Mon, 7 Jan 2019 13:06:35 +0300 Subject: [PATCH] trim title with ellipsis --- web/app/components/comment/__title/comment__title.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/app/components/comment/__title/comment__title.scss b/web/app/components/comment/__title/comment__title.scss index 1333f31a..3b3129d2 100644 --- a/web/app/components/comment/__title/comment__title.scss +++ b/web/app/components/comment/__title/comment__title.scss @@ -5,6 +5,10 @@ color: #0e7e9d; font-weight: bold; text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + display: block; &:hover { opacity: 0.75;