From 1ed8e2c4db2eebe3195b032ca87cf525ca49007b Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 22 Jan 2026 15:05:33 -0800 Subject: [PATCH] Fixed post clicking issue --- src/app/globals.css | 10 +++++++--- src/components/PostCard.tsx | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index a5dc3d7..78707e0 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1508,17 +1508,21 @@ a.btn-primary:visited { .post-link-overlay { position: absolute; inset: 0; - z-index: 0; + z-index: 1; } .post-header, .post-reply-to, .post-media-grid, .link-preview-card, -.post-actions, +.post-actions { + position: relative; + z-index: 2; +} + .post-content { position: relative; - z-index: 1; + z-index: 0; } /* Post Detail Styles */ diff --git a/src/components/PostCard.tsx b/src/components/PostCard.tsx index 42023e0..10ee4d4 100644 --- a/src/components/PostCard.tsx +++ b/src/components/PostCard.tsx @@ -120,7 +120,7 @@ export function PostCard({ post, onLike, onRepost, onComment, onDelete, isDetail return (
- + {!isDetail && }
e.stopPropagation()}>