From 9b9f9a946d4c68abfb930c0f09d231c6696297f4 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 11 Mar 2020 11:41:46 +0100 Subject: [PATCH] CSS fix: textarea pushed off if the heading had description text --- sass/_chatbox.scss | 3 ++- sass/_variables.scss | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sass/_chatbox.scss b/sass/_chatbox.scss index 3772bda76..03e0651cf 100644 --- a/sass/_chatbox.scss +++ b/sass/_chatbox.scss @@ -612,7 +612,8 @@ overflow: hidden; } .chat-body { - height: calc(100% - var(--fullpage-chat-head-height)); + height: inherit; + overflow: hidden; background-color: var(--chat-head-color); } .chat-title { diff --git a/sass/_variables.scss b/sass/_variables.scss index a91772854..978c42724 100644 --- a/sass/_variables.scss +++ b/sass/_variables.scss @@ -162,7 +162,6 @@ $mobile_portrait_length: 480px !default; --avatar-border: 1px solid lightgrey; --avatar-background-color: white; - --fullpage-chat-head-height: 62px; --fullpage-chat-height: calc(var(--vh, 1vh) * 100); --fullpage-chat-width: 100%; --fullpage-emoji-picker-height: 300px; @@ -236,7 +235,6 @@ $mobile_portrait_length: 480px !default; --message-input-border-top: 1px solid #CCC; --message-input-color: #CCC; - --fullpage-chat-head-height: 62px; --fullpage-chatbox-button-size: 24px; --list-toggle-font-weight: bold;