css: ensure dtext is always wrapped in .prose container.

Ensure dtext is always wrapped in a `<div class="prose">` or
`<span class="prose">` (for inline dtext) container so that dtext css is
properly applied.
This commit is contained in:
evazion
2019-09-17 00:28:41 -05:00
parent a5ef86bbe8
commit 73a4d675c0
18 changed files with 77 additions and 19 deletions

View File

@@ -21,7 +21,9 @@
<tr class="resolved-<%= post_flag.is_resolved? %>">
<td><%= PostPresenter.preview(post_flag.post, :tags => "status:any") %></td>
<td>
<%= format_text post_flag.reason %>
<div class="prose">
<%= format_text post_flag.reason %>
</div>
</td>
<td>
<%= link_to post_flag.post.flags.size, post_flags_path(search: { post_id: post_flag.post_id }) %>