Skip to content

Style issue of columns #13035

@incNick

Description

@incNick

Describe the bug
Columns style issue

To Reproduce
Steps to reproduce the behavior:

  1. create 3 columns and fill image
  2. create 4 columns and fill image
  3. for 3 columns, the lasd child still has style margin-right: 32px;

Expected behavior
Should be same as 4 columns

Screenshots
20181220190723

Desktop (please complete the following information):

  • all

Smartphone (please complete the following information):

  • unknow

Additional context
@media (min-width: 600px) {
.wp-block-column:nth-child(odd) {margin-right: 32px}
/should be/
.wp-block-column:nth-child(odd):not(:last_child) {margin-right: 32px}
}
20181220191006

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] ColumnsAffects the Columns Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions