Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Incorrect margin on section block if first #43

Open
tnke opened this issue Nov 26, 2018 · 0 comments
Open

Incorrect margin on section block if first #43

tnke opened this issue Nov 26, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tnke
Copy link
Collaborator

tnke commented Nov 26, 2018

Expected Behavior

Section block should not have margin-top added to it in the ACF blocks field, if it's the first block in order.

Current Behavior

margin-top gets added even if Section is first.

Steps to Reproduce

  1. Add a section block as the first block
  2. Enjoy :)

Possible Solution

Add a not clause to the selector to avoid the hidden acf clone fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant