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

Broken styles for single-column columns block #11703

Closed
carrieforde opened this issue Nov 10, 2018 · 1 comment
Closed

Broken styles for single-column columns block #11703

carrieforde opened this issue Nov 10, 2018 · 1 comment
Labels
[Block] Columns Affects the Columns Block

Comments

@carrieforde
Copy link

If a user manually enters 1 for a single column child in the columns block, the block inherits styling for the two-column block.

One of two things need to happen here:

  1. Users shouldn't be able to enter 1 if the slider doesn't support it.
  2. A style needs to be added for the single column block.

Here is an example of the code produced on the frontend:
HMTL output + related styles from the block-library stylesheet

@ocean90 ocean90 added the [Block] Columns Affects the Columns Block label Nov 10, 2018
@youknowriad
Copy link
Contributor

Right now, it's not possible to enter "1" in the columns count, it automatically reverts to 2. This means this issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block
Projects
None yet
Development

No branches or pull requests

3 participants