diff --git a/source/_includes/nav.html.twig b/source/_includes/nav.html.twig index 652592a9..480951a2 100644 --- a/source/_includes/nav.html.twig +++ b/source/_includes/nav.html.twig @@ -9,7 +9,7 @@ {% for link in site.nav_links %} + class="inline-block pt-4 pb-3 ml-3 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}"> {{- link.title -}} {% endfor %} diff --git a/tailwind.js b/tailwind.js index 8bc061f5..b4aae213 100644 --- a/tailwind.js +++ b/tailwind.js @@ -176,6 +176,7 @@ module.exports = { default: '1px', '0': '0', '2': '2px', + '3': '3px', '4': '4px', '8': '8px', },