feat(template): improve responsiveness #3

Merged
s3lph merged 3 commits from weva/matemat:main into main 2024-12-07 19:57:21 +01:00
Showing only changes of commit a5907dce2d - Show all commits

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