Add some spacing between the minifigure image and name in an accordion header

This commit is contained in:
Gregoo 2025-01-17 16:34:28 +01:00
parent 53b406f722
commit e4d052f22c

View File

@ -6,7 +6,7 @@
<h2 class="accordion-header"> <h2 class="accordion-header">
<button class="accordion-button {% if danger %}text-danger{% endif %} {% if not expanded %}collapsed{% endif %} {% if image %}py-0 ps-0{% endif %}" type="button" data-bs-toggle="collapse" data-bs-target="#{{ id }}" aria-expanded="{% if expanded %}true{% else %}false{% endif %}" aria-controls="{{ id }}"> <button class="accordion-button {% if danger %}text-danger{% endif %} {% if not expanded %}collapsed{% endif %} {% if image %}py-0 ps-0{% endif %}" type="button" data-bs-toggle="collapse" data-bs-target="#{{ id }}" aria-expanded="{% if expanded %}true{% else %}false{% endif %}" aria-controls="{{ id }}">
{% if image %} {% if image %}
<img class="accordion-img" src="{{ image }}" {% if alt %}alt="{{ alt }}"{% endif %} loading="lazy"> <img class=" me-1" src="{{ image }}" {% if alt %}alt="{{ alt }}"{% endif %} loading="lazy">
{% elif icon %} {% elif icon %}
<i class="ri-{{ icon }} me-1"></i> <i class="ri-{{ icon }} me-1"></i>
{% endif %} {% endif %}