mirror of https://github.com/zulip/zulip.git
preview_message_area: Use simplebar scrollbar.
Add `data-simplebar` attribrute to `preview_message_area` div in `templates/zerver/app/compose.html`. This will cause preview_message_area div to use simplebar scrollbar instead of normal scrollbar. Fixes #16468.
This commit is contained in:
parent
b5ddf493d9
commit
03005dacdb
|
@ -88,7 +88,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="messagebox">
|
<div class="messagebox">
|
||||||
<textarea class="new_message_textarea" name="content" id='compose-textarea' placeholder="{{ _('Compose your message here') }}" tabindex="0" maxlength="10000" aria-label="{{ _('Compose your message here...') }}"></textarea>
|
<textarea class="new_message_textarea" name="content" id='compose-textarea' placeholder="{{ _('Compose your message here') }}" tabindex="0" maxlength="10000" aria-label="{{ _('Compose your message here...') }}"></textarea>
|
||||||
<div class="scrolling_list preview_message_area" id="preview_message_area" style="display:none;">
|
<div class="scrolling_list preview_message_area" data-simplebar id="preview_message_area" style="display:none;">
|
||||||
<div id="markdown_preview_spinner"></div>
|
<div id="markdown_preview_spinner"></div>
|
||||||
<div id="preview_content" class="preview_content rendered_markdown"></div>
|
<div id="preview_content" class="preview_content rendered_markdown"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue