app/components/avo/panel_component.html.erb in avo-2.5.2.pre.6 vs app/components/avo/panel_component.html.erb in avo-2.5.2.pre.7
- old
+ new
@@ -1,9 +1,9 @@
<div <%== data_attributes %>>
<% if render_header? %>
- <div class="flex-1 flex flex-col xl:flex-row justify-between mb-4">
- <div class="overflow-hidden flex flex-col">
+ <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 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 %>
@@ -11,10 +11,10 @@
<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-sm tracking-normal font-medium text-gray-600" data-target="description">
+ <div class="text-base tracking-normal font-medium text-gray-600" data-target="description">
<%== description %>
</div>
<% end %>
</div>