Skip to content

Commit 42a3027

Browse files
committed
Make it look like the Marketplace::ProductComponent
1 parent 7ae7107 commit 42a3027

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/furniture/marketplace/menu/product_component.html.erb

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<%= render CardComponent.new(dom_id: dom_id(product)) do |card| %>
2-
<%- card.with_header do %>
2+
<%- card.with_header(variant: :no_padding) do %>
33
<% if product.photo.present? %>
44
<figure>
5-
<%= image_tag hero_image, class: "w-full" %>
6-
<figcaption class="px-4">
5+
<%= image_tag hero_image, class: "rounded-t-lg w-full" %>
6+
<figcaption class="px-2 pt-4 sm:px-4">
77
<h3><%= name %></h3>
88
<%- if product.archived? %>
99
<span class="italic">(archived)</span>
@@ -14,6 +14,7 @@
1414
<h3 class="px-4"><%= name %></h3>
1515
<% end %>
1616
<%- end %>
17+
1718
<div class="text-sm italic">
1819
<%= description %>
1920
</div>

0 commit comments

Comments
 (0)