fix: dm chat list hidden on mobile
This commit is contained in:
parent
3355822bcd
commit
c8c0cc2ac5
@ -7,7 +7,6 @@ import { Link } from "react-router-dom";
|
||||
import { ShowMoreInView } from "@/Components/Event/ShowMore";
|
||||
import { DisplayAs, DisplayAsSelector } from "@/Components/Feed/DisplayAsSelector";
|
||||
import { TimelineRenderer } from "@/Components/Feed/TimelineRenderer";
|
||||
import { LiveStreams } from "@/Components/LiveStream/LiveStreams";
|
||||
import useTimelineFeed, { TimelineFeedOptions, TimelineSubject } from "@/Feed/TimelineFeed";
|
||||
import useLogin from "@/Hooks/useLogin";
|
||||
import { dedupeByPubkey } from "@/Utils";
|
||||
@ -82,7 +81,6 @@ const TimelineFollows = (props: TimelineFollowsProps) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
{(props.liveStreams ?? true) && <LiveStreams />}
|
||||
<DisplayAsSelector
|
||||
show={props.showDisplayAsSelector}
|
||||
activeSelection={displayAs}
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user