Skip to content

Commit

Permalink
fixed blog post footer alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsuresh-git authored and anonrig committed Oct 4, 2024
1 parent 1f1f4f9 commit 44af877
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/BlogFooter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const next = index !== 0 ? posts.at(index - 1) : undefined
const previous = index !== posts.length - 1 ? posts.at(index + 1) : undefined
---

<Container size="tight" class="mt-16 flex items-center" as="footer">
<Container size="tight" class="mt-16 flex items-center mx-auto px-[4vw]" as="footer">
<div class="flex flex-2 text-black dark:text-neutral-400">
{
previous !== undefined && (
Expand Down
4 changes: 2 additions & 2 deletions src/pages/[slug]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ const structuredData = {

{
suggestions.length > 0 && (
<section class="mt-24 bg-[#f6f6f6] dark:bg-[#2f333c] py-12">
<Container size="tight">
<section class="mt-24 bg-[#f6f6f6] dark:bg-[#2f333c] py-12 px-[4vw]">
<Container size="tight" class="mx-auto">
<h3 class="mb-4 text-xl font-extrabold dark:text-white">
You might also like...
</h3>
Expand Down

0 comments on commit 44af877

Please sign in to comment.