Skip to content

Commit 188f2f8

Browse files
GraysonCAdamsclaude
andcommitted
Fix gradient gap on profile page desktop view
Add gradient-bg to the outer min-h-screen container so the sm:pt-20 padding area from LayoutShell has a consistent background instead of showing a visible dark band between the top nav and the radial header. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c528265 commit 188f2f8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/profile/ProfileClient.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface ProfileClientProps {
3434

3535
export default function ProfileClient(props: ProfileClientProps) {
3636
return (
37-
<Suspense fallback={<div className="min-h-screen" />}>
37+
<Suspense fallback={<div className="min-h-screen gradient-bg" />}>
3838
<ProfileContent {...props} />
3939
</Suspense>
4040
);
@@ -272,7 +272,7 @@ function ProfileContent({ user, stats }: ProfileClientProps) {
272272
}
273273

274274
return (
275-
<div className="min-h-screen">
275+
<div className="min-h-screen gradient-bg">
276276
{/* Header */}
277277
<div className="gradient-bg-radial px-5 pt-10 pb-8 flex flex-col items-center text-center">
278278
<m.div

src/app/profile/loading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default function ProfileLoading() {
22
return (
3-
<div className="min-h-screen">
3+
<div className="min-h-screen gradient-bg">
44
{/* Header skeleton */}
55
<div className="gradient-bg-radial px-5 pt-10 pb-8 flex flex-col items-center text-center">
66
<div className="w-24 h-24 rounded-full skeleton mb-4" />

0 commit comments

Comments
 (0)