fix: post navigation max width
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
This commit is contained in:
4
post.hbs
4
post.hbs
@@ -51,7 +51,7 @@
|
||||
|
||||
{{!-- Next/Prev Navigation --}}
|
||||
{{#next_post}}
|
||||
<nav class="mt-16 grid grid-cols-1 md:grid-cols-2 gap-4 border-t border-[var(--bg-tertiary)] pt-12">
|
||||
<nav class="mt-16 max-w-3xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-4 border-t border-[var(--bg-tertiary)] pt-12">
|
||||
<div class="prev-post-nav">
|
||||
{{#../prev_post}}
|
||||
<a href="{{url}}" class="group block p-6 bg-[var(--bg-secondary)] rounded-lg hover:bg-[var(--bg-tertiary)] transition-all duration-300">
|
||||
@@ -69,7 +69,7 @@
|
||||
</nav>
|
||||
{{else}}
|
||||
{{#prev_post}}
|
||||
<nav class="mt-16 grid grid-cols-1 md:grid-cols-2 gap-4 border-t border-[var(--bg-tertiary)] pt-12">
|
||||
<nav class="mt-16 max-w-3xl mx-auto grid grid-cols-1 md:grid-cols-2 gap-4 border-t border-[var(--bg-tertiary)] pt-12">
|
||||
<div class="prev-post-nav">
|
||||
<a href="{{url}}" class="group block p-6 bg-[var(--bg-secondary)] rounded-lg hover:bg-[var(--bg-tertiary)] transition-all duration-300">
|
||||
<span class="text-xs uppercase tracking-widest text-[var(--text-tertiary)] mb-2 block">← Previous Post</span>
|
||||
|
||||
Reference in New Issue
Block a user