Merge pull request #361 from chrishollandaise/fix/make-left-menu-sticky

Fix: Left menu should always stay on screen where content can be scrolled down farther than the height of the initial screen
This commit is contained in:
Badr B. 2024-10-25 22:10:00 +02:00 committed by GitHub
commit 93c41d02b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ function DashLeftMenu() {
background: background:
'linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), radial-gradient(271.56% 105.16% at 50% -5.16%, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0) 100%), rgb(20 19 19)', 'linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), radial-gradient(271.56% 105.16% at 50% -5.16%, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0) 100%), rgb(20 19 19)',
}} }}
className="flex flex-col w-[90px] bg-black h-screen text-white shadow-xl" className="flex flex-col w-[90px] bg-black text-white shadow-xl h-screen sticky top-0"
> >
<div className="flex flex-col h-full"> <div className="flex flex-col h-full">
<div className="flex h-20 mt-6"> <div className="flex h-20 mt-6">