mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-08 08:10:29 +03:00
Fix reply username overflow (#1501)
* fix reply overflow * fix shrinkable typing indicator * fix message avatar hover & cursor
This commit is contained in:
parent
8731f58948
commit
c7e5c1fce8
5 changed files with 18 additions and 3 deletions
|
|
@ -654,7 +654,13 @@ export const Message = as<'div', MessageProps>(
|
|||
|
||||
const avatarJSX = !collapse && messageLayout !== 1 && (
|
||||
<AvatarBase>
|
||||
<Avatar as="button" size="300" data-user-id={senderId} onClick={onUserClick}>
|
||||
<Avatar
|
||||
className={css.MessageAvatar}
|
||||
as="button"
|
||||
size="300"
|
||||
data-user-id={senderId}
|
||||
onClick={onUserClick}
|
||||
>
|
||||
{senderAvatarMxc ? (
|
||||
<AvatarImage
|
||||
src={mx.mxcUrlToHttp(senderAvatarMxc, 48, 48, 'crop') ?? senderAvatarMxc}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue