New fullpage chat: better CSS

This commit is contained in:
John Livingston 2024-03-26 14:49:47 +01:00
parent bc9c9923d5
commit 4cf2cd3ac8
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,6 @@ async function registerConfiguration (clientOptions: RegisterClientOptions): Pro
await loadConverseJS(converseJSParams) await loadConverseJS(converseJSParams)
const container = document.createElement('div') const container = document.createElement('div')
container.classList.add('margin-content')
container.classList.add('livechat-embed-fullpage') container.classList.add('livechat-embed-fullpage')
rootEl.append(container) rootEl.append(container)
const converseRoot = document.createElement('converse-root') const converseRoot = document.createElement('converse-root')

View File

@ -110,4 +110,9 @@ body.converse-embedded {
height: 90vh; height: 90vh;
min-height: 400px; min-height: 400px;
} }
converse-muc-message-form {
// For an unknown reason, message field in truncated... so adding a bottom margin.
margin-bottom: 6px;
}
} }