mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

The padding trick was hard-coded to a 16:9 ratio, but we can use width and height provided from OEmbed information and width of the card itself to calculate a new height