diff --git a/src/app/note/components/base.tsx b/src/app/note/components/base.tsx index de607f25..1a9738de 100644 --- a/src/app/note/components/base.tsx +++ b/src/app/note/components/base.tsx @@ -20,7 +20,7 @@ export default function NoteBase({ event }: { event: any }) { return (
openNote(e)} className="h-min w-full select-text px-3 py-1.5"> -
+
{event.parent_id && event.parent_id !== event.event_id && ( )} diff --git a/src/app/note/components/metadata.tsx b/src/app/note/components/metadata.tsx index 1109799b..a19aab14 100644 --- a/src/app/note/components/metadata.tsx +++ b/src/app/note/components/metadata.tsx @@ -51,7 +51,7 @@ export default function NoteMetadata({ id, eventPubkey }: { id: string; eventPub }); return ( -
+
diff --git a/src/app/note/components/parent.tsx b/src/app/note/components/parent.tsx index 14b95540..c40c89af 100644 --- a/src/app/note/components/parent.tsx +++ b/src/app/note/components/parent.tsx @@ -38,7 +38,8 @@ export const NoteParent = memo(function NoteParent({ id }: { id: string }) { const content = !error && data ? noteParser(data) : null; return ( -
+
+
{data ? ( <> diff --git a/src/app/note/components/quoteRepost.tsx b/src/app/note/components/quoteRepost.tsx index 82b5005b..07547684 100644 --- a/src/app/note/components/quoteRepost.tsx +++ b/src/app/note/components/quoteRepost.tsx @@ -10,7 +10,8 @@ export const NoteQuoteRepost = memo(function NoteQuoteRepost({ event }: { event: return (
-
+
+
diff --git a/src/app/note/components/rootNote.tsx b/src/app/note/components/rootNote.tsx index 40acca87..ceb01f02 100644 --- a/src/app/note/components/rootNote.tsx +++ b/src/app/note/components/rootNote.tsx @@ -61,7 +61,7 @@ export const RootNote = memo(function RootNote({ id, fallback }: { id: string; f const contentFallback = noteParser(parseFallback); return ( -
openNote(e)} className="flex flex-col px-3 pb-5 pt-2"> +
openNote(e)} className="flex flex-col px-3">
@@ -72,7 +72,7 @@ export const RootNote = memo(function RootNote({ id, fallback }: { id: string; f } return ( -
openNote(e)} className="flex flex-col px-3 pb-5 pt-2"> +
openNote(e)} className="flex flex-col px-3"> {data ? ( <> diff --git a/src/app/note/components/user/default.tsx b/src/app/note/components/user/default.tsx index 3a6b840b..fea5523d 100644 --- a/src/app/note/components/user/default.tsx +++ b/src/app/note/components/user/default.tsx @@ -13,7 +13,7 @@ export const NoteDefaultUser = ({ pubkey, time }: { pubkey: string; time: number return (
-
+
{pubkey} {user?.nip05 || shortenKey(pubkey)} - {dayjs().to(dayjs.unix(time))} + {dayjs().to(dayjs.unix(time), true)}
diff --git a/src/app/note/components/user/reply.tsx b/src/app/note/components/user/reply.tsx index 340bcc68..99c196f4 100644 --- a/src/app/note/components/user/reply.tsx +++ b/src/app/note/components/user/reply.tsx @@ -13,7 +13,7 @@ export default function NoteReplyUser({ pubkey, time }: { pubkey: string; time: return (
-
+
{pubkey} · - {dayjs().to(dayjs.unix(time))} + {dayjs().to(dayjs.unix(time), true)}
diff --git a/src/app/note/components/user/repost.tsx b/src/app/note/components/user/repost.tsx index 40aa9950..ff1d1888 100644 --- a/src/app/note/components/user/repost.tsx +++ b/src/app/note/components/user/repost.tsx @@ -13,7 +13,7 @@ export const NoteRepostUser = ({ pubkey, time }: { pubkey: string; time: number return (
-
+
{pubkey} · - {dayjs().to(dayjs.unix(time))} + {dayjs().to(dayjs.unix(time), true)}
);