We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Marketplace::ProductComponent
1 parent 7ae7107 commit 42a3027Copy full SHA for 42a3027
app/furniture/marketplace/menu/product_component.html.erb
@@ -1,9 +1,9 @@
1
<%= render CardComponent.new(dom_id: dom_id(product)) do |card| %>
2
- <%- card.with_header do %>
+ <%- card.with_header(variant: :no_padding) do %>
3
<% if product.photo.present? %>
4
<figure>
5
- <%= image_tag hero_image, class: "w-full" %>
6
- <figcaption class="px-4">
+ <%= image_tag hero_image, class: "rounded-t-lg w-full" %>
+ <figcaption class="px-2 pt-4 sm:px-4">
7
<h3><%= name %></h3>
8
<%- if product.archived? %>
9
<span class="italic">(archived)</span>
@@ -14,6 +14,7 @@
14
<h3 class="px-4"><%= name %></h3>
15
<% end %>
16
<%- end %>
17
+
18
<div class="text-sm italic">
19
<%= description %>
20
</div>
0 commit comments