7651d58470
- Render chat content as a <converse-chat-content> component - Create new component for rendering the message body - Get rid of `showMessage` method
18 lines
732 B
JavaScript
18 lines
732 B
JavaScript
import { html } from "lit-html";
|
|
|
|
export default (o) => html`
|
|
<div class="flyout box-flyout">
|
|
<div class="chat-head chat-head-chatroom row no-gutters"></div>
|
|
<div class="chat-body chatroom-body row no-gutters">
|
|
<div class="chat-area col">
|
|
<div class="chat-content ${ o.show_send_button ? 'chat-content-sendbutton' : '' }" aria-live="polite">
|
|
<div class="chat-content__messages smooth-scroll" @scroll=${o.markScrolled}></div>
|
|
<div class="chat-content__help"></div>
|
|
</div>
|
|
<div class="bottom-panel"></div>
|
|
</div>
|
|
<div class="disconnect-container hidden"></div>
|
|
</div>
|
|
</div>
|
|
`;
|