Skip to content

Fix padding regression with appender#18865

Merged
jasmussen merged 2 commits intomasterfrom
fix/padding-regression
Dec 2, 2019
Merged

Fix padding regression with appender#18865
jasmussen merged 2 commits intomasterfrom
fix/padding-regression

Conversation

@jasmussen
Copy link
Copy Markdown
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
Copy Markdown
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 (and row, stack and grid variants) [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 (and row, stack and grid variants) [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