mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Aircraft description stays inside the Details card
simple_format makes paragraphs, so the padded box around them is a div: inside a <p> the browser closed it early and the text spilled out unstyled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
79a64cc208
commit
3452a35896
2 files changed
+9
-1
No files matched your search
@@ -87,7 +87,7 @@
|
||||
<dt class="text-slate-500"><%= t(".hobbs_offset") %></dt><dd><%= hours(@aircraft.hobbs_time_offset) %></dd>
|
||||
</dl>
|
||||
<% if @aircraft.description.present? %>
|
||||
<p class="border-t border-slate-100 px-4 py-3 text-sm text-slate-600"><%= simple_format @aircraft.description %></p>
|
||||
<div class="space-y-2 border-t border-slate-100 px-4 py-3 text-sm text-slate-600"><%= simple_format @aircraft.description %></div>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user