dynamic width of the products to fit on the screen

This commit is contained in:
Priec
2026-06-22 13:07:17 +02:00
parent 4a736a8c85
commit 85f1657c67
3 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -147,7 +147,7 @@
</div>
</header>
<main class="mx-auto w-full max-w-5xl flex-1 px-4 py-8">
<main class="mx-auto w-full flex-1 px-4 py-8 {% block main_class %}max-w-5xl{% endblock main_class %}">
{% block content %}{% endblock content %}
</main>
</div>

View File

@@ -3,6 +3,7 @@
{% block title %}{{ t(key="admin-products", lang=lang | default(value='sk')) }}{% endblock title %}
{% block crumb %}{{ t(key="admin-products", lang=lang | default(value='sk')) }}{% endblock crumb %}
{% block main_class %}max-w-none{% endblock main_class %}
{% block content %}
{% set business = audience == "business" %}