Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Fixes for the Columns block#967

Merged
pattonwebz merged 4 commits into
WordPress:masterfrom
andersnoren:fix/block-columns-fixes
Nov 10, 2019
Merged

Fixes for the Columns block#967
pattonwebz merged 4 commits into
WordPress:masterfrom
andersnoren:fix/block-columns-fixes

Conversation

@andersnoren

Copy link
Copy Markdown
Contributor

This PR contains fixes for the Columns block issues created by @yannickiki earlier today.

Fixes #963 and #961 by removing the paragraph-only padding used for the first and last columns in full-width columns blocks previously, and replaces it with a horizontal padding on the block as a whole. This made it possible to reduce the amount of CSS quite a bit, since it removed the need for different solutions for different breakpoints.

Before After
image image

Fixes #960 by adjusting the spacing between stacked Columns blocks between 782px and 999px. Also tweaked the margin on desktop, to make the horizontal margin between stacked columns blocks 32px (same as the gutter) on all screen sizes.

Before After
image image

@carolinan

Copy link
Copy Markdown
Contributor

@yannickiki Do you have time to test this? :)

@pattonwebz pattonwebz merged commit 4ee4d4b into WordPress:master Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

4 participants