app/components/ariadne/layout/grid/item/component.html.erb in ariadne_view_components-0.0.73 vs app/components/ariadne/layout/grid/item/component.html.erb in ariadne_view_components-0.0.74

- old
+ new

@@ -1,12 +1,12 @@ -<% if html_attrs[:class].present? %> -<li class="ariadne-contents"> -<div class="<%= html_attrs[:class] %>" <%= html_attributes %>> +<% if blank? %> +<li class="ariadne-contents" <%= html_attributes %>> <%= content %> - </div> </li> <% else %> -<li class="ariadne-contents" <%= html_attributes %>> +<li class="ariadne-contents"> +<div data="asd" class="<%= html_attrs[:class] %>" <%= html_attributes %>> <%= content %> + </div> </li> <% end %>