Auto viewer mode (WIP).

This commit is contained in:
John Livingston
2022-01-07 19:28:07 +01:00
parent 9a4608863b
commit 4e69a2d8e6
3 changed files with 9 additions and 5 deletions

View File

@ -47,7 +47,9 @@ body[livechat-viewer-mode="on"] {
display: initial;
}
.livechat-viewer-mode-panel {
display: none;
converse-muc-bottom-panel {
>:not(.livechat-viewer-mode-nick) {
display: none;
}
}
}

View File

@ -32,9 +32,7 @@ export default (o) => {
</fieldset>
</form>
</div>
<span class="livechat-viewer-mode-panel">
${tplMucBottomPanel(o)}
</span>`
${tplMucBottomPanel(o)}`
}
return tplMucBottomPanel(o)
}