mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
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:
commit
93c41d02b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue