mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-21 21:54:25 -05: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