2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 13:36:47 +00:00

fix badge style

This commit is contained in:
Matthias Mair 2022-04-22 22:17:40 +02:00
parent 1ac028dc0c
commit 7dc4c07b32
2 changed files with 6 additions and 2 deletions

View File

@ -2,10 +2,10 @@
<div class="col p-4 d-flex flex-column position-static"> <div class="col p-4 d-flex flex-column position-static">
<div class="d-inline-block"> <div class="d-inline-block">
{% for cat in plugin.categories %} {% for cat in plugin.categories %}
<span class="badge rounded-pill bg-yellow-500">{{ cat }}</span> <span class="badge bg-yellow-500">{{ cat }}</span>
{% endfor %} {% endfor %}
{% for tag in plugin.tags %} {% for tag in plugin.tags %}
<span class="badge rounded-pill bg-blue-400">{{ tag }}</span> <span class="badge bg-blue-400">{{ tag }}</span>
{% endfor %} {% endfor %}
</div> </div>
<h3 class="mb-0">{{ plugin.name }}</h3> <h3 class="mb-0">{{ plugin.name }}</h3>

View File

@ -50,4 +50,8 @@ layout: empty
top: -72px; top: -72px;
visibility: hidden; visibility: hidden;
} }
.badge {
@apply py-1 px-2.5 rounded-full
}
} }