Skip to content

Redacted message line heights are different from messages, and have timestamps not vertically centered #22181

Closed
matrix-org/matrix-react-sdk
#8591
@turt2live

Description

@turt2live

Steps to reproduce

  1. Send a single-line message
  2. Note resulting dimensions of elements
  3. Redact it
  4. Note difference in dimensions

Outcome

What did you expect?

Uniform styling and behaviour between redacted and unredacted messages, at least for the single-line case.

What happened instead?

image

The redacted message's timestamp is up against the avatar rather than being vertically centered, and the height of the message body is different by about 5-10px.

Operating system

Windows 10

Application version

No response

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions