app/components/avo/panel_component.html.erb in avo-3.0.0.pre12 vs app/components/avo/panel_component.html.erb in avo-3.0.0.pre13

- old
+ new

@@ -23,10 +23,10 @@ <% end %> </div> <% end %> <% if body? %> <div data-target="panel-body" class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:gap-4 w-full"> - <div class="relative flex-1 <% if sidebar? %> w-2/3 <% else %> w-full <% end %>"> + <div class="relative flex-1 w-full <% if sidebar? %> sm:w-2/3 <% end %>"> <% # The body is wrapped inside another div in order to avoid long & tall panels next to sidebars when the sidebar taller. %> <div class="relative <%= white_panel_classes %> <%= @body_classes %>"> <%= body %> </div> </div>