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:
@@ -19,7 +19,9 @@
|
||||
<td><%= link_to_user feedback.creator %></td>
|
||||
<td><%= compact_time(feedback.created_at) %></td>
|
||||
<td>
|
||||
<%= format_text(feedback.body) %>
|
||||
<div class="prose">
|
||||
<%= format_text(feedback.body) %>
|
||||
</div>
|
||||
<%= render "application/update_notice", record: feedback, interval: 0.minutes %>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -6,7 +6,12 @@
|
||||
<li><strong>Creator</strong> <%= link_to_user @user_feedback.creator %></li>
|
||||
<li><strong>Date</strong> <%= @user_feedback.created_at %></li>
|
||||
<li><strong>Category</strong> <%= @user_feedback.category %></li>
|
||||
<li><strong>Message</strong> <%= format_text @user_feedback.body %></li>
|
||||
<li>
|
||||
<strong>Message</strong>
|
||||
<div class="prose">
|
||||
<%= format_text @user_feedback.body %>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<% if @user_feedback.editable_by?(CurrentUser.user) %>
|
||||
|
||||
Reference in New Issue
Block a user