Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix clipping issue with Instagram embed #10437
This fixes #10410.
Instagram embeds have a minimum width of 326px. We set it to 290px, which caused clipping.
This PR bumps the minimum width to 360px to give some margins, but it would be good to test other floated embeds to see what kind of min-widths they apply.
Screenshots of the fix:
Content width is 580, because in a past PR we made it that due to being a good combination of legibility and font size. I recall us using a calculator to get to this or something.
290 is $content-width / 2, basically to achieve a visual balance.