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
</p>
</div>
<nav className='nav-links overflow-auto pt-2'>
<nav className='nav-links overflow-auto'>
<Link
draggable={false}
href='/main'
+17 -1
View File
@@ -14,7 +14,23 @@
}
.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 {