multi columns layout

This commit is contained in:
Ren Amamiya
2023-05-21 08:49:08 +07:00
parent f11fe2d349
commit f73c7321d7
20 changed files with 127 additions and 199 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export default function ChatsListItem({ pubkey }: { pubkey: string }) {
/>
</div>
<div>
<h5 className="truncate font-medium text-zinc-400 group-hover:text-white">
<h5 className="truncate font-medium text-zinc-200 group-hover:text-white">
{user.nip05 || user.name || shortenKey(pubkey)}
</h5>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ export default function ChatsList() {
);
return (
<div className="flex flex-col gap-px">
<div className="flex flex-col gap-1">
<ChatsListSelfItem />
{!chats || error ? (
<>
+1 -1
View File
@@ -45,7 +45,7 @@ export default function ChatsListSelfItem() {
/>
</div>
<div>
<h5 className="truncate font-medium text-zinc-400">
<h5 className="truncate font-medium text-zinc-200">
{profile?.nip05 || profile?.name || shortenKey(account.pubkey)}{" "}
<span className="text-zinc-600">(you)</span>
</h5>