From d5065aa77f7eb4e555ab874cb9dd3ddbb1c012d4 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Fri, 2 Jul 2021 11:50:39 +0200 Subject: [PATCH] fix: chat - height fixed --- src/styles/chat/_index.scss | 41 +++---------------------------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/src/styles/chat/_index.scss b/src/styles/chat/_index.scss index 227d8de..46b4ae5 100644 --- a/src/styles/chat/_index.scss +++ b/src/styles/chat/_index.scss @@ -1,43 +1,8 @@ -#messages { - - .chat-view { - height: calc(100vh - 50px - 78px); - } +.chat-view { + height: calc(100vh - 50px - 78px); @media (max-width: 768px) { - - height: calc(100vh - 50px - 58px); - - .messages-header { - display: flex; - } - - solid-set-default[name="segment2"] { - font-size: 14px; - line-height: 16px; - width: 75%; - } - - orbit-user-avatar { - height: 31px; - width: 31px; - } - - solid-display-value[name="name"] { - display: block; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - max-width: 210px; - } - - solid-display-value[name="hyphen"] { - display: none; - } - - solid-link { - vertical-align: super; - } + height: calc(100vh - 50px - 68px); } }