added note content parser

This commit is contained in:
Ren Amamiya
2023-03-21 09:24:40 +07:00
parent b10a70b4ce
commit a17c5dfba5
6 changed files with 104 additions and 39 deletions

View File

@@ -75,7 +75,7 @@ export const RootNote = memo(function RootNote({ id }: { id: string }) {
} else {
return (
<div className="relative z-10 flex h-min animate-pulse select-text flex-col pb-5">
<div className="flex items-start gap-4">
<div className="flex items-start gap-2">
<div className="relative h-11 w-11 shrink overflow-hidden rounded-full bg-zinc-700" />
<div className="flex w-full flex-1 items-start justify-between">
<div className="flex w-full items-center justify-between">
@@ -88,7 +88,7 @@ export const RootNote = memo(function RootNote({ id }: { id: string }) {
</div>
</div>
</div>
<div className="-mt-4 pl-[60px]">
<div className="-mt-5 pl-[52px]">
<div className="flex flex-col gap-6">
<div className="h-16 w-full rounded bg-zinc-700" />
<div className="flex items-center gap-8">