mirror of https://github.com/zulip/zulip.git
message_edit: Fix message edit history breakdown on large messages.
The message_edit_history UI was incorrectly inheriting its content div's structure from message_edit_content, i.e. the form for editing message content, and not message_content, i.e. the class for rendering the content of messages in the message feed (which we also use for drafts). Fix this by changing the inheritance, while also adding a (currently unused) class for any future customizations. Fixes: #5629.
This commit is contained in:
parent
3a374f5e68
commit
7d42d7b4db
|
@ -7,7 +7,7 @@
|
||||||
<div class="messagebox-border">
|
<div class="messagebox-border">
|
||||||
<div class="messagebox-content">
|
<div class="messagebox-content">
|
||||||
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
|
<div class="message_top_line"><span class="message_time">{{ timestamp }}</span></div>
|
||||||
<div class="message_edit_content">{{{ body_to_render }}}</div>
|
<div class="message_content message_edit_history_content">{{{ body_to_render }}}</div>
|
||||||
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
|
<div class="message_author"><div class="author_details">{{ posted_or_edited }} {{ edited_by }}</div></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue