From 4cf2cd3ac8c6540a754698ca2da5c843cebf048c Mon Sep 17 00:00:00 2001 From: John Livingston Date: Tue, 26 Mar 2024 14:49:47 +0100 Subject: [PATCH] New fullpage chat: better CSS --- client/common/configuration/register.ts | 1 - conversejs/custom/shared/styles/livechat.scss | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/client/common/configuration/register.ts b/client/common/configuration/register.ts index c917429b..70cbc989 100644 --- a/client/common/configuration/register.ts +++ b/client/common/configuration/register.ts @@ -40,7 +40,6 @@ async function registerConfiguration (clientOptions: RegisterClientOptions): Pro await loadConverseJS(converseJSParams) const container = document.createElement('div') - container.classList.add('margin-content') container.classList.add('livechat-embed-fullpage') rootEl.append(container) const converseRoot = document.createElement('converse-root') diff --git a/conversejs/custom/shared/styles/livechat.scss b/conversejs/custom/shared/styles/livechat.scss index 63366a09..6919af56 100644 --- a/conversejs/custom/shared/styles/livechat.scss +++ b/conversejs/custom/shared/styles/livechat.scss @@ -110,4 +110,9 @@ body.converse-embedded { height: 90vh; min-height: 400px; } + + converse-muc-message-form { + // For an unknown reason, message field in truncated... so adding a bottom margin. + margin-bottom: 6px; + } }