feat(template): improve responsiveness #3
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
||||||
<div class="row itemlist">
|
<div class="row itemlist">
|
||||||
{% for product in products %}
|
{% for product in products %}
|
||||||
{# Show an item per product, consisting of the name, image, price and stock, triggering a purchase on click #}
|
{# Show an item per product, consisting of the name, image, price and stock, triggering a purchase on click #}
|
||||||
<div class="col-sm-1 g-4">
|
<div class="col-xl-1 col-md-2 col-sm-3 col-4 g-4">
|
||||||
{% if product.custom_price %}
|
{% if product.custom_price %}
|
||||||
<a class="card h-100 text-bg-light" onclick="setup_custom_price({{ product.id }}, '{{ product.name}}');">
|
<a class="card h-100 text-bg-light" onclick="setup_custom_price({{ product.id }}, '{{ product.name}}');">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue