diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-29 11:58:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-29 11:58:59 +0200 |
| commit | d028aeced2049b753f126ec70fad7d73449b7516 (patch) | |
| tree | 616e14f54dfe61811d049fe97a9fdd81c38feb16 /layouts/partials | |
| parent | 46cefbb27e2b0954c3a8c695354ede751847c4e7 (diff) | |
| download | danixxyz-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/partials')
| -rw-r--r-- | layouts/partials/article-nav.html | 2 |
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 }} |
