Skip to content

Commit 947486d

Browse files
committed
fix(blog): resolve blog tags positioning issue conflicting with header
- Replace margin-top with padding-top in hero section (pt-20 md:pt-24) - Prevents blog category tags from appearing behind or conflicting with the ThinkRED logo - Ensures proper spacing between fixed header and blog post hero content - Fixes z-index and positioning conflicts in BlogPostPage
1 parent 19fcd65 commit 947486d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/BlogPostPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const BlogPostPage = () => {
140140
{/* Hero Section */}
141141
<div
142142
ref={setHeroRef}
143-
className="w-full md:mt-20 mt-14 h-96 bg-cover bg-center relative hero-background"
143+
className="w-full pt-20 md:pt-24 h-96 bg-cover bg-center relative hero-background"
144144
>
145145
<div className="absolute inset-0 bg-black bg-opacity-50 flex items-end">
146146
<div className="container mx-auto px-4 py-16">

0 commit comments

Comments
 (0)