Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: small ui fixes

Marc Seitz507ef64ff075
diff --git a/components/documents/stats-card.tsx b/components/documents/stats-card.tsx
index d53e65e4..f56df1e4 100644
--- a/components/documents/stats-card.tsx
+++ b/components/documents/stats-card.tsx
@@ -39,7 +39,7 @@ export default function StatsCard() {
];
return (
- <div className="grid grid-cols-1 bg-gray-900 sm:grid-cols-3 lg:grid-cols-3">
+ <div className="grid grid-cols-1 bg-gray-900 sm:grid-cols-3 lg:grid-cols-3 border-b border-white/5">
{stats
? statistics.map((stat, statIdx) => (
<StatsElement key={statIdx} stat={stat} statIdx={statIdx} />
diff --git a/components/links/link-sheet.tsx b/components/links/link-sheet.tsx
index 019b3806..0e98a83c 100644
--- a/components/links/link-sheet.tsx
+++ b/components/links/link-sheet.tsx
@@ -82,7 +82,7 @@ export default function LinkSheet({ children }: { children: React.ReactNode }) {
<SheetHeader>
<SheetTitle className="text-white">Create a new link</SheetTitle>
<SheetDescription className="text-white">
- Make changes to your profile here. Click save when you&apos;re done.
+ Customize a document link for sharing. Click save when you&apos;re done.
</SheetDescription>
</SheetHeader>
<form className="flex flex-col grow" onSubmit={handleSubmit}>
@@ -104,7 +104,7 @@ export default function LinkSheet({ children }: { children: React.ReactNode }) {
id="link-name"
placeholder="Recipient's Organization"
value={data.name || ''}
- className="block w-full rounded-md border-0 py-1.5 text-white bg-black shadow-sm ring-1 ring-inset ring-gray-600 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6"
+ className="block w-full rounded-md border-0 px-2 py-1.5 text-white bg-black shadow-sm ring-1 ring-inset ring-gray-600 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6"
onChange={(e) =>
setData({ ...data, name: e.target.value })
}
diff --git a/pages/documents/[id].tsx b/pages/documents/[id].tsx
index 0dc0b729..9a90a6b5 100644
--- a/pages/documents/[id].tsx
+++ b/pages/documents/[id].tsx
@@ -21,7 +21,7 @@ export default function DocumentPage() {
{document ? (
<>
{/* Heading */}
- <div className="flex flex-col items-start justify-between gap-x-8 gap-y-4 p-4 sm:flex-row sm:items-center sm:p-4 sm:m-4">
+ <div className="flex flex-col items-start justify-between gap-x-8 gap-y-4 p-4 sm:flex-row sm:items-center sm:m-4">
<div className="space-y-2">
<div className="flex space-x-4 items-center">
<div className="w-8">