update channel

This commit is contained in:
Ren Amamiya
2023-06-16 18:41:44 +07:00
parent f8de44fe9f
commit 0a6865431d
28 changed files with 240 additions and 489 deletions

View File

@@ -11,7 +11,7 @@ import { useMemo } from "react";
export function NoteBase({
event,
block,
metadata,
metadata = true,
}: { event: LumeEvent; block?: number; metadata?: boolean }) {
const content = useMemo(() => parser(event), [event]);
const checkParentID = isTagsIncludeID(event.parent_id, event.tags);

View File

@@ -22,7 +22,7 @@ export function NoteReply({
<button
type="button"
onClick={(e) => openThread(e, id)}
className="w-14 group inline-flex items-center gap-1.5"
className="w-20 group inline-flex items-center gap-1.5"
>
<ReplyIcon
width={16}

View File

@@ -44,7 +44,7 @@ export function NoteRepost({
<button
type="button"
onClick={(e) => submitEvent(e)}
className="w-14 group inline-flex items-center gap-1.5"
className="w-20 group inline-flex items-center gap-1.5"
>
<RepostIcon
width={16}

View File

@@ -5,7 +5,7 @@ export function NoteZap({ zaps }: { zaps: number }) {
return (
<button
type="button"
className="w-14 group inline-flex items-center gap-1.5"
className="w-20 group inline-flex items-center gap-1.5"
>
<ZapIcon
width={16}

View File

@@ -10,7 +10,7 @@ export function Reply({ data }: { data: any }) {
<div className="flex h-min min-h-min w-full select-text flex-col px-3 pt-5 mb-3 rounded-md bg-zinc-900">
<div className="flex flex-col">
<User pubkey={data.pubkey} time={data.created_at} />
<div className="-mt-[20px] pl-[47px]">
<div className="-mt-[20px] pl-[50px]">
<Kind1 content={content} />
<NoteMetadata id={data.id} eventPubkey={data.pubkey} />
</div>