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

The row block needs a special class name ex. ".is-row" #39284

Closed
premitheme opened this issue Mar 8, 2022 · 1 comment
Closed

The row block needs a special class name ex. ".is-row" #39284

premitheme opened this issue Mar 8, 2022 · 1 comment
Labels
[Block] Group Affects the Group Block (and row, stack and grid variants) [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@premitheme
Copy link

premitheme commented Mar 8, 2022

What problem does this address?

I need to remove some top and bottom margins of the Row inner blocks that I originally added for the Group inner blocks, but I can't because there's no special class name to differentiate them as they both share the same class name. I'm not sure why the Row block doesn't have its own class (.wp-block-row), but at least I think it should have a special identifier, like adding ".is-row" class.

What is your proposed solution?

Add ".is-row" class name to the Row block.

@Mamaduka Mamaduka added [Block] Group Affects the Group Block (and row, stack and grid variants) [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed labels Mar 8, 2022
@Mamaduka
Copy link
Member

Mamaduka commented Mar 8, 2022

Thanks for contributing, @premitheme.

It looks like a duplicate of #38126, and there's also a PR that will add Row-specific class - #39181.

@Mamaduka Mamaduka closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Group Affects the Group Block (and row, stack and grid variants) [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants