Voog/design-santiago

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

Opened this issue · 0 comments

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 {...}