Add a blur effect to sidebar buttons when scrolling up

This commit is contained in:
Lncvrt committed 2026-05-10 13:56:19 -07:00
1 parent 848a95b576
commit 3771a9e8fc
2 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ export default function Sidebar () {
Lncvrt Games Launcher Lncvrt Games Launcher
</p> </p>
</div> </div>
<nav className='nav-links overflow-auto pt-2'> <nav className='nav-links overflow-auto'>
<Link <Link
draggable={false} draggable={false}
href='/main' href='/main'
+17 -1
View File
@@ -14,7 +14,23 @@
} }
.nav-links { .nav-links {
@apply flex flex-col px-4 space-y-1; @apply flex flex-col px-4 space-y-1 pt-3;
mask-image: linear-gradient(
to bottom,
transparent 0%,
black 12px,
black calc(100% - 24px),
transparent 100%
);
-webkit-mask-image: linear-gradient(
to bottom,
transparent 0%,
black 12px,
black calc(100% - 24px),
transparent 100%
);
} }
.link { .link {