Update post tag styling

This commit is contained in:
Oliver Davies 2020-02-06 00:15:27 +00:00
parent cb930a1782
commit f4084863c2

View file

@ -1,10 +1,10 @@
{% if page.tags %}
<h2 class="visuallyhidden">Tags</h2>
<ul class="list-reset flex flex-wrap">
<ul class="list-reset flex flex-wrap spaced-x-3">
{% for tag in page.tags|sort %}
<li>
<a href="/blog/tags/{{ tag }}" class="text-xs py-1 px-2 mr-1 mb-1 bg-gray-200 text-gray-800 leading-none no-underline hover:underline focus:bg-gray-800 focus:text-white focus:outline-none">
<a href="/blog/tags/{{ tag }}" class="text-xs py-1 px-3 border-l-2 border-gray-500 bg-gray-200 text-gray-800 leading-none no-underline hover:underline focus:bg-gray-800 focus:text-white focus:outline-none">
{{- tag -}}
</a>
</li>