mirror of https://github.com/mastodon/mastodon
Dynamically calculate card height for embeds instead of padding (#5265)
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 heightpull/5267/head
parent
292f3cd7e0
commit
684001d729
Loading…
Reference in New Issue