Auto viewer mode (WIP).

This commit is contained in:
John Livingston 2022-01-07 19:57:42 +01:00
parent 4e69a2d8e6
commit c69ebd2680
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 10 additions and 2 deletions

View File

@ -45,6 +45,14 @@ body.livechat-readonly.livechat-noscroll {
body[livechat-viewer-mode="on"] {
.livechat-viewer-mode-nick {
display: initial;
form {
display: flex !important;
flex-flow: row wrap !important;
padding-top: 0.5em !important;
padding-bottom: 0.5em !important;
border-top: var(--chatroom-separator-border-bottom) !important;
}
}
converse-muc-bottom-panel {

View File

@ -16,9 +16,9 @@ export default (o) => {
const i18nNickname = __('Nickname')
const i18nJoin = __('Enter groupchat')
return html`
<div class="livechat-viewer-mode-nick chatroom-form-container muc-nickname-form"
<div class="livechat-viewer-mode-nick chatroom-form-container"
@submit=${ev => setNickname(ev, model)}>
<form class="converse-form chatroom-form converse-centered-form">
<form class="converse-form chatroom-form">
<fieldset class="form-group">
<input type="text"
required="required"