1
0
Fork 0
forked from s3lph/matemat

feat(templates): improve breakpoints

This commit is contained in:
Valentin Weber 2024-12-07 19:52:14 +01:00
parent 4943508233
commit a5907dce2d
Signed by: weva
GPG key ID: 44797000F143F522

View file

@ -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 %}