Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Also allow stacking of negative margins in cover #339

Closed
wants to merge 1 commit into from

Conversation

erikjoling
Copy link

Description

A fully aligned block inside a fully aligned cover-block needs to have double negative margins, because it has double positive paddings. If this makes sense ^_^'

Just like the group block.

Testing Instructions

  1. Add a fully aligned group-block inside a fully aligned cover block.
  2. See double horizontal padding.

A fully aligned cover will have padding, just like the group-block.
@kjellr
Copy link
Collaborator

kjellr commented Jan 20, 2022

Thanks, @erikjoling! This looks good:

Before After
Screen Shot 2022-01-20 at 12 02 50 PM Screen Shot 2022-01-20 at 12 03 13 PM

@jffng and I aren't making any more bugfix commits in advance of the 5.9 code freeze on Monday, so we'll save this one and can push it in shortly after release.

Thank you!

@kjellr kjellr added the [Type] Bug Something isn't working label Jan 20, 2022
@kjellr kjellr added this to the Post-launch milestone Jan 20, 2022
@erikjoling
Copy link
Author

No problem at all. Thank you, also for the great theme :)

@jffng
Copy link
Collaborator

jffng commented Jan 24, 2022

Migrated to a PR in core, thanks again @erikjoling ! WordPress/wordpress-develop#2223

@jffng jffng closed this Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants