Update nav classes

This commit is contained in:
Oliver Davies 2017-12-28 11:08:47 +00:00
parent f549764e16
commit bb7783dd5a

View file

@ -6,9 +6,9 @@
</a> </a>
</div> </div>
<nav class="w-3/4 text-right"> <nav class="w-3/4 flex flex-wrap justify-end">
{% for link in site.nav_links %} {% for link in site.nav_links %}
<a href="{{ link.href }}" class="inline-block pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}"> <a href="{{ link.href }}" class="pt-4 pb-3 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
{{- link.title -}} {{- link.title -}}
</a> </a>
{% endfor %} {% endfor %}