From dc711a94afa7cccf207839dfa0d32f883a4bfdd4 Mon Sep 17 00:00:00 2001 From: morethanwords Date: Thu, 22 Oct 2020 03:39:27 +0300 Subject: [PATCH] Reply new line-height, need check with mockup --- src/scss/partials/_chat.scss | 10 ++++++++-- src/scss/partials/_document.scss | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/scss/partials/_chat.scss b/src/scss/partials/_chat.scss index 0edc65a0..d000e4d4 100644 --- a/src/scss/partials/_chat.scss +++ b/src/scss/partials/_chat.scss @@ -710,10 +710,15 @@ $chat-helper-size: 39px; padding: 1rem; &-subtitle { - line-height: 1 !important; max-width: 280px; } } + + /* .pinned-message, .reply { + &-subtitle { + line-height: 16px !important; + } + } */ } .pinned-message, .reply { @@ -771,7 +776,8 @@ $chat-helper-size: 39px; font-size: 14px; //line-height: 18px; //line-height: 1; - line-height: 15px; + //line-height: 15px; + line-height: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; diff --git a/src/scss/partials/_document.scss b/src/scss/partials/_document.scss index f8e4ce9f..53b02c15 100644 --- a/src/scss/partials/_document.scss +++ b/src/scss/partials/_document.scss @@ -6,6 +6,7 @@ background-color: $color-blue; border-radius: .5rem; line-height: 10px; + text-align: center; .document:not(.document-with-thumb) & { padding: 1.5rem .25rem 0 .25rem;