summaryrefslogtreecommitdiff
path: root/layouts/_partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/header.html')
-rw-r--r--layouts/_partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html
index 754bbf2d..61b850e7 100644
--- a/layouts/_partials/header.html
+++ b/layouts/_partials/header.html
@@ -9,11 +9,11 @@
>
</div>
<!-- Navigation -->
- <div class="flex justify-center items-center gap-3 pl-4">
+ <div class="flex justify-center items-center gap-3 pl-4 text-size-sm md:text-size-base">
<nav class="my-4 flex justify-center items-center w-fit rounded-4 overflow-hidden">
{{ range .Site.Params.nav }}
- <a class="inline-block py-1 px-2 first:pl-3 last:pr-3
- block hover:no-underline
+ <a class="inline-block py-1 px-[0.35rem] md:px-2 first:pl-3 last:pr-3
+ block hover:no-underline text-nowrap
{{ if strings.Contains $.Page.RelPermalink .link }}
text-[var(--text-color)] bg-[var(--block-background-color)]
{{ else }}