Auto viewer mode (WIP).
This commit is contained in:
parent
4e69a2d8e6
commit
c69ebd2680
@ -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 {
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user