Skip to content

Commit d8f33d9

Browse files
committed
Fix scrolling issues
- make members section scrollable and hide scrollbar - background image takes 100% of the width instead of 100vw which caused it to have scroll bar on the x-axis
1 parent 22e5e88 commit d8f33d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ const App: Component = () => (
3939
</main>
4040
</section>
4141

42-
<section class="relative z-10 flex h-screen w-screen snap-start items-center justify-center">
43-
<article class="mx-4 h-[85vh] w-[90vw] rounded-xl bg-slate-800/60 p-4 text-white backdrop-blur-sm">
42+
<section class="relative z-10 flex h-screen w-full snap-start items-center justify-center">
43+
<article class="mx-4 h-[85vh] w-[90vw] overflow-y-scroll rounded-xl bg-slate-800/60 p-4 text-white backdrop-blur-sm [scrollbar-width:none]">
4444
<h2 class="m-4 text-center text-4xl text-slate-300">Our Members</h2>
4545
<ul class="mx-auto my-10 grid max-w-3xl grid-cols-2 gap-5 max-md:grid-cols-1">
4646
<li>

0 commit comments

Comments
 (0)