Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content area image styles should apply only to direct children of the content area. #116

Open
kaspar-naaber opened this issue Sep 1, 2017 · 0 comments

Comments

@kaspar-naaber
Copy link
Contributor

Steps to reproduce the issue

  1. Create a table in the {% content %} area.
  2. Open files panel
  3. Drag an image to the table

Possible problem

Image container may have styles like custom margin that doesn't suit into the table.

Expected behavior

Some image containers should have custom styles only when they are direct children of the content area wrapper.

Solution

Apply > to image styling selectors. For example:

.content-area > .edy-positionable-container-center {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant