Skip to content

Commit 622b13f

Browse files
committed
Update DefaultLayout.tsx
1 parent dbca8a2 commit 622b13f

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

packages/grant-explorer/src/features/common/DefaultLayout.tsx

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,15 @@ export function GradientLayout({
4444
"container mx-auto max-w-screen-2xl relative z-10 px-4 sm:px-6 lg:px-20",
4545
showAlloVersionBanner ? "pt-[120px]" : "pt-16"
4646
)}
47+
style={{
48+
background:
49+
"linear-gradient(180deg, #ADEDE5 -13.57%, rgba(21, 184, 220, 0.47) 45.05%, rgba(0,0,0,0) 92.61%)",
50+
}}
4751
>
4852
{children}
4953
</div>
5054

5155
<Footer />
52-
53-
{
54-
// FIXME: this is the wrong way to make a gradient for the main content
55-
// since it's a div that's covering the full page and any other content
56-
// without a higher z-index is not clickable.
57-
}
58-
<div
59-
className="min-h-screen absolute inset-0"
60-
style={{
61-
background:
62-
"linear-gradient(180deg, #ADEDE5 -13.57%, rgba(21, 184, 220, 0.47) 45.05%, rgba(0,0,0,0) 92.61%)",
63-
}}
64-
/>
6556
</main>
6657
);
6758
}

0 commit comments

Comments
 (0)