2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 10:05:36 +00:00

move badge styles to css

This commit is contained in:
Matthias Mair
2023-01-28 15:05:35 +01:00
parent 68cfaadb5a
commit 543268076d
3 changed files with 12 additions and 4 deletions

View File

@ -71,7 +71,7 @@ fullwith: true
<h4 class="plugin_links">Categories</h4>
<div>
{% for categorie in page.categories %}
<a href="/categories/#{{ categorie | slugify }}"><span class="badge bg-yellow-500 whitespace-nowrap">{{ categorie }}</span></a>
<a href="/categories/#{{ categorie | slugify }}"><span class="plugin_cat">{{ categorie }}</span></a>
{% endfor %}
</div>
</div>
@ -80,7 +80,7 @@ fullwith: true
<h4 class="plugin_links">Tags</h4>
<div>
{% for tag in page.tags %}
<a href="/tags/#{{ tag | slugify }}"><span class="badge bg-blue-400 whitespace-nowrap">{{ tag }}</span></a>
<a href="/tags/#{{ tag | slugify }}"><span class="plugin_tag">{{ tag }}</span></a>
{% endfor %}
</div>
</div>