New livechat-converse-size ConverseJS plugin:

* New plugin that handles the size of the converse-root, so we can adapt
  content to it
* Fixed some styling when chatbox is small (hidding avatars).
This commit is contained in:
John Livingston
2024-05-12 13:10:35 +02:00
parent 383770ddfe
commit 0c4a5999f8
4 changed files with 61 additions and 2 deletions

View File

@ -148,8 +148,8 @@
}
// hidding avatars when screen width is not big enough.
// FIXME: how to apply this when the chat is beside video without iframe? (2024-04-02)
@media screen and (max-width: 250px) {
// The livechat-converse-root-width attributes comes from the 'size' plugin.
&[livechat-converse-root-width="small"] {
.message {
&.chat-msg {
.chat-msg__content {