diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c0168c..1c207559 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Features -* Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode. +* Builtin Prosody, Share chat url: ability to show/hide the scrollbar in readonly mode. Note: new messages and new day separators will also be hidden if scollbars are. * Builtin Prosody: display Peertube users avatars. * Builtin Prosody: display random avatars for anonymous users. diff --git a/conversejs/custom/shared/styles/livechat.scss b/conversejs/custom/shared/styles/livechat.scss index 52c45fbf..064cfb5e 100644 --- a/conversejs/custom/shared/styles/livechat.scss +++ b/conversejs/custom/shared/styles/livechat.scss @@ -26,6 +26,13 @@ body.livechat-readonly #conversejs { } } -body.livechat-readonly.livechat-noscroll converse-chat-content { - overflow-y: hidden !important; +body.livechat-readonly.livechat-noscroll { + converse-chat-content { + overflow-y: hidden !important; + } + + .message.separator { + // also hide separators (new day, new message) + display: none; + } }