Skip to content

Low-width media make captions unreadable #6588

@bxdxnn

Description

@bxdxnn

Steps to reproduce

  1. Send a media with low-width but normal height
  2. Add a caption

Outcome

What did you expect?

A readable caption.
If that's OK with the design team, we can try to set media to have a fixed width, then fill the letterboxing with the image's blur.

What happened instead?

If the width is not too small (e.g. 9:16, or you can also try sending the screenshot below), you will get a lot of line wraps.
If the width is too small (e.g. one pixel), the caption won't render:

Image

Your phone model

No response

Operating system version

No response

Application version and app store

No response

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-DefectSomething isn't working: bugs, crashes, hangs and other reported problems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions