Skip to content

Commit 415b011

Browse files
committed
fix background image moving
1 parent 9cf3111 commit 415b011

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ articles.splice(3);
3636
formats={["avif", "webp"]}
3737
alt=""
3838
loading="lazy"
39-
class="skeleton fixed bottom-0 -z-10 h-[100lvh] max-w-full object-cover object-center select-none"
39+
class="skeleton fixed top-0 -z-10 h-[100lvh] max-w-full object-cover object-center select-none"
4040
src={Hero}
4141
/>
4242
<div class="absolute top-[40%] left-10 mr-10 max-w-lg bg-gray-50 p-8 pb-24">

src/pages/members.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const members = (await getCollection("members")).sort(
2121
loading="eager"
2222
alt=""
2323
src={Header}
24-
class="fixed bottom-0 -z-100 h-[100vh] bg-neutral-400 object-cover"
24+
class="fixed top-0 -z-100 h-[100lvh] bg-neutral-400 object-cover"
2525
style="object-position: 75% 20%;"
2626
aria-hidden
2727
/>

0 commit comments

Comments
 (0)