app/components/avo/panel_component.html.erb in avo-2.1.2.pre2 vs app/components/avo/panel_component.html.erb in avo-2.2.0
- old
+ new
@@ -1,20 +1,20 @@
<div <%== data_attributes %>>
<% if render_header? %>
<div class="<%= white_panel_classes %> p-4 flex-1 flex flex-col xl:flex-row justify-between mb-6">
- <div class="overflow-hidden mr-4">
+ <div class="overflow-hidden mr-4 flex flex-col">
<% if display_breadcrumbs? %>
<div class="breadcrumbs truncate mb-2">
<%= helpers.render_breadcrumbs(separator: helpers.svg('chevron-right', class: 'inline-block h-3 stroke-current relative top-[-1px] ml-1' )) if Avo.configuration.display_breadcrumbs %>
</div>
<% end %>
- <div class="text-2xl tracking-normal font-semibold text-gray-800 truncate" data-target="title">
- <%= @title %>
+ <div class="text-2xl tracking-normal font-semibold text-gray-800 truncate items-center flex flex-1" data-target="title">
+ <span><%= @title %></span>
</div>
<% if description.present? %>
- <div class="text-base tracking-normal font-medium text-gray-600 truncate" data-target="description">
+ <div class="text-base tracking-normal font-medium text-gray-600" data-target="description">
<%== description %>
</div>
<% end %>
</div>