Skip to content

Cover: Nested blocks set to full width are left-aligned #16851

Closed

Description

@mmtr

#16751 removed the inner blocks restriction from the cover block, so we can insert any block there now.

While testing this feature, I noted that any nested block set to full width looks left-aligned in the editor:

Image
Screen Shot 2019-08-01 at 10 52 50

Columns
Screen Shot 2019-08-01 at 10 54 34

Video
Screen Shot 2019-08-01 at 10 56 36

However, in the published view they look center-aligned:

Image
This actually looks right-aligned, but I'm assuming this is caused by the image size,
Screen Shot 2019-08-01 at 10 57 18

Columns
Screen Shot 2019-08-01 at 11 00 06

Video
Screen Shot 2019-08-01 at 11 00 55

I was expecting these blocks to take the full width of the cover block.

Not sure if this a theme issue though (I checked this on the Twenty Nineteen theme).

Activity

  1. added
    [Feature] Nested / Inner Blocks
    [Type] Bug
    [Feature] Themes
    on Aug 1, 2019
  2. paaljoachim commented on Jan 18, 2021

    @paaljoachim
    Contributor

    Hey @mmtr Miguel

    A lot of improvements have happened with the Cover block since you made this issue.
    I checked a few of the above such as image and columns.

    I will go ahead and close this issue. If I am mistaken then please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Nested / Inner Blocks[Feature] Themes[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions