Skip to content

Commit 0c772e0

Browse files
committed
revert: feat: use div for background
nvm
1 parent b2a3937 commit 0c772e0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/components/Header.astro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ import DownloadButton from "./ui/DownloadButton.astro";
77
<header
88
class="p-4 pb-0 flex flex-col gap-4 sm:flex-row sm:justify-between sm:items-center"
99
>
10-
<div
11-
class="w-screen h-screen fixed top-0 left-0 -z-50 bg-center bg-no-repeat bg-cover bg-[url('/img/background/prism-backgroundLight.svg')] dark:bg-[url('/img/background/prism-backgroundDark.svg')]"
12-
>
13-
</div>
1410
<div
1511
class="flex flex-col items-center text-center gap-4 sm:text-left sm:flex-row sm:justify-start"
1612
>

src/layouts/MainLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const {
2626
<link rel="sitemap" href="/sitemap-index.xml" />
2727
</head>
2828
<body
29-
class="flex flex-col min-h-screen max-w-4xl min-[128rem]:max-w-6xl mx-auto gap-4 sm:pb-4 bg-prism-background-light dark:bg-prism-background-dark"
29+
class="flex flex-col min-h-screen max-w-4xl min-[128rem]:max-w-6xl mx-auto gap-4 sm:pb-4 bg-center bg-cover bg-fixed bg-[rgb(239,239,239)] dark:bg-[rgb(9,10,12)] bg-[url('/img/background/prism-backgroundLight.svg')] dark:bg-[url('/img/background/prism-backgroundDark.svg')]"
3030
>
3131
<Header />
3232
<main class="flex-1 flex flex-col gap-4">

0 commit comments

Comments
 (0)