Skip to content

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

Open
@kaspar-naaber

Description

@kaspar-naaber

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions