Fix reply username overflow (#1501)

* fix reply overflow

* fix shrinkable typing indicator

* fix message avatar hover & cursor
This commit is contained in:
Ajay Bura 2023-10-24 22:21:39 +11:00 committed by GitHub
parent 8731f58948
commit c7e5c1fce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 3 deletions

View file

@ -67,7 +67,11 @@ export const Reply = as<'div', ReplyProps>(
{...props}
ref={ref}
>
<Box style={{ color: colorMXID(sender ?? eventId) }} alignItems="Center" shrink="No">
<Box
style={{ color: colorMXID(sender ?? eventId), maxWidth: '50%' }}
alignItems="Center"
shrink="No"
>
<Icon src={Icons.ReplyArrow} size="50" />
{sender && (
<Text size="T300" truncate>

View file

@ -118,8 +118,8 @@ export const CompactHeader = style([
export const AvatarBase = style({
paddingTop: toRem(4),
cursor: 'pointer',
transition: 'transform 200ms cubic-bezier(0, 0.8, 0.67, 0.97)',
alignSelf: 'start',
selectors: {
'&:hover': {