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:
Amadeo234 2019-01-15 20:45:18 +01:00 committed by Tim Abbott
parent 3a374f5e68
commit 7d42d7b4db
1 changed files with 1 additions and 1 deletions

View File

@ -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>