🔥 Fix z-index

This commit is contained in:
Asim Shrestha
2023-04-08 12:18:15 -07:00
parent 675b82e2c0
commit cbb8c57c23
2 changed files with 3 additions and 4 deletions

View File

@@ -33,11 +33,11 @@ const Home: NextPage = () => {
return (
<DefaultLayout>
<main className="flex h-screen w-screen flex-row ">
<main className="flex h-screen w-screen flex-row">
<Drawer />
<div
id="content"
className="flex h-screen w-full items-center justify-center p-2 px-4"
className="z-10 flex h-screen w-full items-center justify-center p-2 px-4"
>
<div
id="layout"

View File

@@ -15,7 +15,7 @@
.lower-gradient {
background-image: linear-gradient(
to top,
rgba(255, 255, 255, 0.01),
rgba(255, 255, 255, 0.03),
rgba(255, 255, 255, 0)
);
height: 20vh;
@@ -23,7 +23,6 @@
bottom: 0;
left: 0;
right: 0;
z-index: -10;
}
/* Customize website's scrollbar like Mac OS