<div class="d-flex flex-wrap gap-2" style="min-height: 32px;">
    @foreach($model->tags as $tag)
        <span style="background-color: {{ $tag->color }}1A; color: {{ $tag->color }}; border: 1px solid {{ $tag->color }};"
              class="badge rounded-pill d-inline-flex align-items-center fw-normal fs-6 px-2 py-1">
                    {{ $tag->name }}
                </span>
    @endforeach
</div>