Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/mail/components/magicui/file-tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,10 @@ const Folder = forwardRef<HTMLDivElement, FolderProps & React.HTMLAttributes<HTM
<Accordion.Item {...props} value={value} className="relative h-full overflow-hidden">
<div
className={cn(
`hover:bg-sidebar-accent-foreground flex items-center gap-1 rounded-lg px-2 py-1.5 text-sm dark:hover:bg-[#202020]`,
`hover:bg-subtleWhite flex items-center gap-1 rounded-lg px-2 py-1.5 text-sm dark:hover:bg-[#202020]`,
className,
{
'bg-muted rounded-md': isSelect && isSelectable,
'bg-sidebar-accent rounded-md': isSelect && isSelectable,
'cursor-pointer': isSelectable,
'cursor-not-allowed opacity-50': !isSelectable,
},
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/ui/nav-main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export function NavMain({ items }: NavMainProps) {
</div>

<div className="mr-0 flex-1 pr-0">
<div className="bg-background relative -m-2 flex-1 overflow-auto">
<div className="bg-background relative -m-2 flex-1 max-h-48 overflow-auto hide-scrollbar">
<Tree className="bg-background rounded-md">
{(() => {
if (!data) return null;
Expand Down