Skip to content

Commit

Permalink
Resolves Issue novuhq#4261
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-unmole committed Oct 23, 2023
1 parent a930525 commit 3041219
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/web/src/components/layout/components/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Navbar,
Popover,
useMantineColorScheme,
ScrollArea
} from '@mantine/core';
import { useEffect, useState } from 'react';
import { Link, useNavigate } from 'react-router-dom';
Expand Down Expand Up @@ -136,6 +137,16 @@ export function SideNav({}: Props) {
}

return (
<ScrollArea
style={{ maxHeight: '100%', maxWidth: '100%', paddingRight: '8px' }}
scrollbarStyle={{
width: 8,
bodyWidth: 4,
bodyBackgroundColor: 'rgba(0, 0, 0, 0.4)',
bodyTransition: 'background 250ms',
componentBackgroundColor: 'transparent',
}}
>
<Navbar
sx={{
position: 'sticky',
Expand Down

0 comments on commit 3041219

Please sign in to comment.