polyamspace / mastodon

Custom Mastodon fork used by https://polyam.space
GNU Affero General Public License v3.0
1 stars 2 forks source link

Aspect ratio set incorrectly on media in detailed status #515

Open polyamAdmin opened 4 months ago

polyamAdmin commented 4 months ago

Steps to reproduce the problem

  1. Toot image with low height
  2. Click on toot
  3. Look at toot

Expected behaviour

Media should show the same as in timeline

Actual behaviour

Media shows different than in timeline

Detailed description

Haven't looked into the code path yet, but media attachments should have the aspect ratio set to 16:9, regardless of view, but it's different when viewing a detailed status.

Mastodon instance

N/A

Mastodon version

6dd4f1468ce9edf1bc894a933ca1f47e8057ad8c

Browser name and version

N/A

Operating system

N/A

Technical details

No response