aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PostNavigation.astro
diff options
context:
space:
mode:
authorNikhil M Warrier <nikhilmw.dev@gmail.com>2026-03-03 09:00:53 +0530
committerNikhil M Warrier <nikhilmw.dev@gmail.com>2026-03-03 09:00:53 +0530
commitc1c7ca70783cbb38cf35fe0c9fb05dd626f46c08 (patch)
tree2941afd019e4e073f195929ede6792a6d45af5dd /src/components/PostNavigation.astro
parentb1cc6aef5d01b59daf64d12a8e9264324540d8b7 (diff)
Rename Author to Member, add Codeberg icons
Diffstat (limited to 'src/components/PostNavigation.astro')
-rw-r--r--src/components/PostNavigation.astro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/PostNavigation.astro b/src/components/PostNavigation.astro
index bca228a..2e8b93e 100644
--- a/src/components/PostNavigation.astro
+++ b/src/components/PostNavigation.astro
@@ -19,7 +19,8 @@ const isSubpost = !!parentPost
class={cn(
buttonVariants({ variant: 'outline' }),
'rounded-lg group flex items-center justify-start size-full',
- !olderPost && 'pointer-events-none opacity-0 cursor-not-allowed',
+ !olderPost &&
+ 'pointer-events-none opacity-0 invisible cursor-not-allowed',
)}
aria-disabled={!olderPost}
>
@@ -71,7 +72,8 @@ const isSubpost = !!parentPost
class={cn(
buttonVariants({ variant: 'outline' }),
'rounded-lg group flex items-center justify-end size-full',
- !newerPost && 'pointer-events-none opacity-0 cursor-not-allowed',
+ !newerPost &&
+ 'pointer-events-none opacity-0 invisible cursor-not-allowed',
)}
aria-disabled={!newerPost}
>