Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
refactor: cleanup z-index on document page
Marc Seitz564fb32e5637
diff --git a/pages/documents/index.tsx b/pages/documents/index.tsxindex a710cfeb..83a98bb6 100644--- a/pages/documents/index.tsx+++ b/pages/documents/index.tsx@@ -20,7 +20,7 @@ export default function Documents() {return (<AppLayout>- <div className="sticky top-0 z-50 bg-white p-4 pb-0 dark:bg-gray-900 sm:mx-4 sm:pt-8">+ <div className="sticky top-0 bg-white p-4 pb-0 dark:bg-gray-900 sm:mx-4 sm:pt-8"><section className="mb-4 flex items-center justify-between space-x-2 sm:space-x-0"><div className="space-y-0 sm:space-y-1"><h2 className="text-xl font-semibold tracking-tight text-foreground sm:text-2xl">diff --git a/pages/documents/tree/[...name].tsx b/pages/documents/tree/[...name].tsxindex e4062beb..66cbb071 100644--- a/pages/documents/tree/[...name].tsx+++ b/pages/documents/tree/[...name].tsx@@ -1,7 +1,7 @@import { useRouter } from "next/router";import { useTeam } from "@/context/team-context";-import { FileIcon, FolderIcon, FolderPlusIcon, PlusIcon } from "lucide-react";+import { FolderPlusIcon, PlusIcon } from "lucide-react";import { AddDocumentModal } from "@/components/documents/add-document-modal";import { DocumentsList } from "@/components/documents/documents-list";@@ -32,19 +32,6 @@ export default function DocumentTreePage() {Manage all your documents in one place.</p></div>- {/* <div className="flex items-center justify-between gap-4">- <AddDocumentModal>- <Button- size="icon"- className="fixed bottom-6 right-5 z-30 lg:hidden sm:bottom-0 sm:right-0 sm:relative w-10 sm:w-44 h-10 sm:h-10"- >- <span className="hidden sm:block">Add New Document</span>- <span className="block sm:hidden">- <PlusIcon className="w-6 h-6" />- </span>- </Button>- </AddDocumentModal>- </div> */}<div className="flex items-center gap-x-2"><AddDocumentModal><Button className="gap-x-3 px-3" title="Add Document">