diff --git a/src/components/AuthorCard.astro b/src/components/AuthorCard.astro index 210b4ed..bc07e1b 100644 --- a/src/components/AuthorCard.astro +++ b/src/components/AuthorCard.astro @@ -54,7 +54,7 @@ const socialLinks: SocialLink[] = [
-
+

{name}

{ pronouns && ( diff --git a/src/components/PostNavigation.astro b/src/components/PostNavigation.astro index 4906cf1..e192a13 100644 --- a/src/components/PostNavigation.astro +++ b/src/components/PostNavigation.astro @@ -7,12 +7,12 @@ import { ArrowLeft, ArrowRight } from 'lucide-react' const { prevPost, nextPost } = Astro.props --- -
+
Previous Post - {prevPost?.data.title || 'Latest post!'}
@@ -33,14 +33,14 @@ const { prevPost, nextPost } = Astro.props href={nextPost ? `/blog/${nextPost.slug}` : '#'} class={cn( buttonVariants({ variant: 'outline' }), - 'rounded-xl group flex items-center justify-end w-1/2 h-fit', + 'rounded-xl group flex items-center justify-end w-full sm:w-1/2 h-fit', !nextPost && 'pointer-events-none opacity-50 cursor-not-allowed', )} aria-disabled={!nextPost} >
Next Post - {nextPost?.data.title || 'Last post!'}
diff --git a/src/styles/global.css b/src/styles/global.css index 390d77c..ffe7412 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -67,7 +67,7 @@ @layer components { article { - @apply prose-headings:scroll-mt-20; + @apply prose-headings:scroll-mt-20 prose-headings:break-words prose-p:break-words; .katex-display { @apply overflow-x-auto overflow-y-hidden py-4;