Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: undo spacing for filetree
Marc Seitz9610f614c062
diff --git a/components/ui/nextra-filetree.tsx b/components/ui/nextra-filetree.tsxindex b14f5d42..7857ffe1 100644--- a/components/ui/nextra-filetree.tsx+++ b/components/ui/nextra-filetree.tsx@@ -108,13 +108,13 @@ const Folder = memo<FolderProps>(const isFolderOpen = open === undefined ? isOpen : open;return (- <li className="flex w-full list-none flex-col py-0.5">+ <li className="flex w-full list-none flex-col"><divtitle={name}className={cn("inline-flex w-full cursor-pointer items-center","rounded-md text-foreground duration-100 hover:bg-gray-100 hover:dark:bg-muted",- "px-3 py-1.5 leading-6 ",+ "px-3 py-1.5 leading-6",active && "bg-gray-100 font-semibold dark:bg-muted",className,)}@@ -127,7 +127,7 @@ const Folder = memo<FolderProps>(><ChevronRightIconclassName={cn(- "chevron h-4 w-4 shrink-0 transition-transform duration-150 ",+ "chevron h-4 w-4 shrink-0 transition-transform duration-150",isFolderOpen && "rotate-90",)}/>@@ -145,7 +145,7 @@ const Folder = memo<FolderProps>(</span></div>{isFolderOpen && (- <ul className="py-0.5">+ <ul><ctx.Provider value={indent + 1}>{children}</ctx.Provider></ul>)}