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 %>
|
||||
|
||||
Reference in New Issue
Block a user