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:
@@ -10,7 +10,11 @@
|
||||
<% @dashboard.mod_actions.each do |mod_action| %>
|
||||
<tr>
|
||||
<td><%= link_to_user mod_action.creator %></td>
|
||||
<td><%= format_text(mod_action.description) %></td>
|
||||
<td>
|
||||
<div class="prose">
|
||||
<%= format_text(mod_action.description) %>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
@@ -11,7 +11,11 @@
|
||||
<% @dashboard.user_feedbacks.each do |record| %>
|
||||
<tr class="feedback-category-<%= record.category %>">
|
||||
<td><%= link_to_user(record.user) %></td>
|
||||
<td><%= format_text(record.body) %></td>
|
||||
<td>
|
||||
<div class="prose">
|
||||
<%= format_text(record.body) %>
|
||||
</div>
|
||||
</td>
|
||||
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
@@ -29,7 +29,11 @@
|
||||
<%= link_to "post ##{post_disapproval.post_id}", post_path(post_disapproval.post_id) %>
|
||||
<%= link_to "»", moderator_post_disapprovals_path(search: params[:search].merge(post_id: post_disapproval.post_id)) %>
|
||||
</td>
|
||||
<td class="col-expand"><%= format_text(post_disapproval.message) %></td>
|
||||
<td class="col-expand">
|
||||
<div class="prose">
|
||||
<%= format_text(post_disapproval.message) %>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to post_disapproval.reason.humanize, moderator_post_disapprovals_path(search: params[:search].merge(reason: post_disapproval.reason)) %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user