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: Correct the margins of embed block content #7164
Removed the margins around the
How has this been tested?
Tested in browser and things still work and display as they should. Tried with a YouTube and Vimeo embed.
Types of changes
I checked out this branch. Turns out that the regression itself was caused by the removal of the
wp-block-embed class. Simply adding that back fixes everything. Note that both the editor.scss and style.scss for the embed block both refer to
Should we simply rename your
wp-block-embed and be done with it?