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

AB Container Block - can't set a 0 margin bottom #60

Closed
calliaweb opened this issue Feb 19, 2019 · 0 comments
Closed

AB Container Block - can't set a 0 margin bottom #60

calliaweb opened this issue Feb 19, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@calliaweb
Copy link

Using a AB Container Block and setting the margin-bottom to 0 using the block editor, means you end up with a 1.2em bottom margin.

This is because margin-bottom:0; is not added to the block inline styles and therefore it inherits margin: 0 0 1.2em 0; from the blocks.styles.build.css.

Setting the margin-bottom to 0.5%, for example does add the inline style and overrides this, but if you want 0 it does not work.

@mindctrl mindctrl added this to the 1.5.3 milestone Feb 25, 2019
@mindctrl mindctrl added the bug Something isn't working label Feb 25, 2019
@mindctrl mindctrl modified the milestones: 1.5.3, 1.5.4, 1.5.5 Feb 26, 2019
mikemcalister added a commit that referenced this issue Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants