-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eventbrite and OpenTable Blocks: Fix block preview sizing with Gutenberg #14553
Eventbrite and OpenTable Blocks: Fix block preview sizing with Gutenberg #14553
Conversation
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: February 11, 2020. |
Caution: This PR has changes that must be merged to WordPress.com |
Confirmed the button is now big. Agreed with @simison, if we can center it and reduce the size a bit that would be ideal. |
Because of the way the preview is generated automatically from the example attributes registered with the block, I don't know of a way we can control the size of the button preview in the block inserter. This Gutenberg change from @scruffian would help with that, however! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good in my tests. It's a bit big but I wouldn't consider this a blocker. Merging. I'll let you handle the wpcom side of this. 👍
…ing with… (#14553) * Eventbrite and OpenTable Blocks: Fix block preview sizing with Gutenberg 7.3 * Adds comment for explanation
Cherry-picked to |
r202643-wpcom |
Changes proposed in this Pull Request:
Gutenberg 7.3 removes a wrapper div around blocks that changes the display of the block previews for the Eventbrite and OpenTable blocks.
This change adds additional style rules that restore the block previews.
Before
After
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
Note that there is an extra margin at the top of the block preview--this appears to be a bug in Gutenberg 7.3 since it also appears in the Core block previews.
Proposed changelog entry for your changes:
N/A since these are new blocks in the 8.2 release.