templates/components/picto.html.twig line 1

Open in your IDE?
  1. <div class="z-5 absolute top-4 left-4 flex w-max flex-row items-center gap-1 px-2 py-0.5 text-xs text-white bg-secondary"
  2.      {% if picto_textColor|default and picto_backgroundColor|default %}style="color: {{ picto_textColor }};background: {{ picto_backgroundColor }}"{% endif %}>
  3.     {% if picto_svg|default %}
  4.         <img src="data:image/svg+xml;utf8,{{ picto_svg|url_encode }}" height="12px" alt="{{ picto_name|raw }}">
  5.     {% endif %}
  6.     <span class="text-base font-bold">{{ picto_name|raw }}</span>
  7. </div>