Skip to content

Commit

Permalink
fix: overflow issue in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Raju-kadel-27 committed Sep 25, 2024
1 parent b63006f commit 9cc8d50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/dashboard/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ export function SideBar({ className, publicId, companies }: SideBarProps) {
return (
<ScrollArea className="h-screen px-3">
<div className={cn("pb-12", className)}>
<div className="fixed gap-y-4 py-4">
<div className="fixed h-screen gap-y-4 py-4 mb-2">
<div className="flex items-center px-1 py-2">
<CaptableLogo className="h-7 w-auto" />

<CompanySwitcher companies={companies} publicId={publicId} />
</div>

<div className="overflow-auto py-2">
<div className="overflow-auto h-full pt-2 pb-8">
<ul className="space-y-1">
{navigation.map((item) => {
const href = basePath + item.href;
Expand Down

0 comments on commit 9cc8d50

Please sign in to comment.