Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
file space-y fix
Ashish Viradiya73161a7b2994
diff --git a/components/ui/nextra-filetree.tsx b/components/ui/nextra-filetree.tsxindex 2ccdb128..52fd7991 100644--- a/components/ui/nextra-filetree.tsx+++ b/components/ui/nextra-filetree.tsx@@ -5,7 +5,7 @@* https://github.com/shuding/nextra/blob/main/packages/nextra/src/components/file-tree.tsx**/-import {+import React, {createContext,memo,useCallback,@@ -108,9 +108,15 @@ const Folder = memo<FolderProps>();const isFolderOpen = open === undefined ? isOpen : open;+ const hasChildren = React.Children.count(children) > 0;return (- <li className="flex w-full list-none flex-col space-y-1">+ <li+ className={cn(+ "flex w-full list-none flex-col",+ hasChildren && "space-y-1",+ )}+ ><divtitle={name}className={cn(