From be8098e8ec41ffa909987ee5db990a8c349a9034 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 20 Apr 2022 20:16:41 +0300 Subject: [PATCH] fix chat --- src/components/chat/chat.scss | 10 +++------- src/components/chat_title/chat_title.vue | 1 + 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 8b745e86..63fd2a1f 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -47,19 +47,15 @@ } .chat-view-heading { - justify-content: space-between; - display: flex; - z-index: 2; - position: sticky; - overflow: hidden; + grid-template-columns: auto 1fr; } .go-back-button { text-align: center; - padding: 0 0.7em; line-height: 100%; height: 100%; - align-self: stretch; + align-self: start; + width: var(--__panel-heading-height-inner); } .jump-to-bottom-button { diff --git a/src/components/chat_title/chat_title.vue b/src/components/chat_title/chat_title.vue index 99a7a64e..e62c52b2 100644 --- a/src/components/chat_title/chat_title.vue +++ b/src/components/chat_title/chat_title.vue @@ -46,6 +46,7 @@ .avatar-container { align-self: center; + line-height: 1; } .titlebar-avatar {