Skip to content
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

Fix padding regression with appender #18865

Merged
merged 2 commits into from
Dec 2, 2019
Merged

Conversation

jasmussen
Copy link
Contributor

Earlier today, I merged #18105. As part of that, two existing issues were visually surfaced. Technically the bugs were already present, but the issues were masked by the padding rules.

The issue existed in the first place because the appender component compensated for horizontal margins that were refactored away in #17877.

This affected groups and columns that had the placeholder appender.

Group, before:

group before

Group, after:

group after

Columns before:

cols before

Columns after:

cols after

Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see the jump anymore. Looks good in my testing 👍

@gziolo gziolo added [Block] Columns Affects the Columns Block [Type] Bug An existing feature does not function as intended [Block] Group Affects the Group Block [Feature] Inserter The main way to insert blocks using the + button in the editing interface labels Dec 2, 2019
@jasmussen jasmussen merged commit b02920d into master Dec 2, 2019
@jasmussen jasmussen deleted the fix/padding-regression branch December 2, 2019 11:48
@youknowriad youknowriad added this to the Gutenberg 7.1 milestone Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Block] Group Affects the Group Block [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants