mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 04:39:19 +02:00
add max height to stream chat messages
This commit is contained in:
parent
cb780e19b2
commit
98a230d781
@ -17,14 +17,14 @@ function ChatMessage({ event, stream }: { event: NostrEvent; stream: ParsedStrea
|
||||
<TrustProvider event={event}>
|
||||
<Box ref={ref}>
|
||||
<NoteZapButton note={event} size="xs" variant="ghost" float="right" ml="2" allowComment={false} />
|
||||
<Text>
|
||||
<Box overflow="hidden" maxH="lg">
|
||||
<UserAvatar pubkey={event.pubkey} size="xs" display="inline-block" mr="2" />
|
||||
<Text as="span" fontWeight="bold" color={event.pubkey === stream.host ? "rgb(248, 56, 217)" : "cyan"}>
|
||||
<UserLink pubkey={event.pubkey} />
|
||||
{": "}
|
||||
</Text>
|
||||
<ChatMessageContent event={event} />
|
||||
</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
</TrustProvider>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user