fix: dm chat list hidden on mobile
This commit is contained in:
@ -10,5 +10,5 @@ export function ChatParticipantProfile({ participant }: { participant: ChatParti
|
||||
if (participant.id === publicKey) {
|
||||
return <NoteToSelf className="grow" />;
|
||||
}
|
||||
return <ProfileImage pubkey={participant.id} className="grow" profile={participant.profile as CachedMetadata} />;
|
||||
return <ProfileImage pubkey={participant.id} className="grow" profile={participant.profile as CachedMetadata} link="" />;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ export default function MessagesPage() {
|
||||
|
||||
return (
|
||||
<div className="flex flex-1 md:h-screen md:overflow-hidden">
|
||||
{pageWidth >= TwoCol && (
|
||||
{(pageWidth >= TwoCol || !id) && (
|
||||
<div className="overflow-y-auto md:h-screen p-1 w-full md:w-1/3 flex-shrink-0">
|
||||
<div className="flex items-center justify-between p-2">
|
||||
<button disabled={unreadCount <= 0} type="button" className="text-sm font-semibold">
|
||||
|
Reference in New Issue
Block a user