update space page

This commit is contained in:
Ren Amamiya
2023-05-21 12:49:47 +07:00
parent f73c7321d7
commit bada9132f1
12 changed files with 177 additions and 298 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export function NoteDefaultUser({
/>
</Popover.Button>
<div className="flex flex-wrap items-baseline gap-1">
<h5 className="text-base font-semibold leading-none">
<h5 className="max-w-[15rem] text-base font-semibold leading-none truncate">
{user?.nip05 || user?.name || shortenKey(pubkey)}
</h5>
<span className="leading-none text-zinc-500">·</span>
+5 -5
View File
@@ -30,13 +30,13 @@ export function NoteRepostUser({
/>
</Popover.Button>
<div className="flex flex-wrap items-baseline gap-1">
<h5 className="text-base font-semibold leading-none">
<h5 className="max-w-[10rem] text-base font-semibold leading-none truncate">
{user?.nip05 || user?.name || shortenKey(pubkey)}
<span className="bg-gradient-to-r from-fuchsia-300 via-orange-100 to-amber-300 bg-clip-text text-transparent">
{" "}
reposted
</span>
</h5>
<span className="font-semibold leading-none text-fuchsia-500">
{" "}
reposted
</span>
<span className="leading-none text-zinc-500">·</span>
<span className="leading-none text-zinc-500">
{dayjs().to(dayjs.unix(time), true)}