summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-29 11:58:37 +0200
committerDanilo M. <danix@danix.xyz>2026-04-29 11:58:59 +0200
commitd028aeced2049b753f126ec70fad7d73449b7516 (patch)
tree616e14f54dfe61811d049fe97a9fdd81c38feb16 /layouts
parent46cefbb27e2b0954c3a8c695354ede751847c4e7 (diff)
downloaddanixxyz-theme-d028aeced2049b753f126ec70fad7d73449b7516.tar.gz
danixxyz-theme-d028aeced2049b753f126ec70fad7d73449b7516.zip
fix: remove orphaned top border from article nav
Top nav variant (above title) had a border-t that divided nothing. Move border-t/pt-6 from CSS class into template, applied only on bottom variant. Rebuild CSS.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/article-nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/article-nav.html b/layouts/partials/article-nav.html
index 8a118b3..2461069 100644
--- a/layouts/partials/article-nav.html
+++ b/layouts/partials/article-nav.html
@@ -9,7 +9,7 @@
{{ $cmd = "cd" }}
{{ end }}
-<nav class="article-nav {{ if eq $variant "bottom" }}mt-8{{ else }}mb-8{{ end }}"
+<nav class="article-nav {{ if eq $variant "bottom" }}mt-8 border-t border-border pt-6{{ else }}mb-8 border-none pt-0{{ end }}"
aria-label="Article navigation">
<p class="article-nav-prompt" aria-hidden="true">
[visitor@danix.xyz articles]$ {{ $cmd }}