diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-05-15 15:09:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-05-15 15:09:03 +0700 |
| commit | df7a1e34fab9014e775facfb20e58e7087200160 (patch) | |
| tree | 0c544ef0727f5224f0f3361a1f45d337dd914ed2 /src/lib/auth/components | |
| parent | 2a0933e4dd2230bd76cf09f287dcbeee8ede67e3 (diff) | |
sticky menu on user dashboard
Diffstat (limited to 'src/lib/auth/components')
| -rw-r--r-- | src/lib/auth/components/Menu.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx index f91fd552..386b817c 100644 --- a/src/lib/auth/components/Menu.jsx +++ b/src/lib/auth/components/Menu.jsx @@ -7,7 +7,7 @@ const Menu = () => { const routeStartWith = (route) => router.pathname.startsWith(route) return ( - <div className='grid grid-cols-1 bg-white border border-gray_r-6 rounded py-2 px-4'> + <div className='grid grid-cols-1 bg-white border border-gray_r-6 rounded py-2 px-4 sticky top-48'> <div className='mt-4 mb-1 font-medium'>Menu</div> <LinkItem href='/my/quotations' active={routeStartWith('/my/quotations')}> Daftar Quotation |
