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

Navigation Block: Gap between items collapses when placed inside of a Column block #33002

Closed
kjellr opened this issue Jun 25, 2021 · 0 comments · Fixed by #33021
Closed

Navigation Block: Gap between items collapses when placed inside of a Column block #33002

kjellr opened this issue Jun 25, 2021 · 0 comments · Fixed by #33021
Assignees
Labels
[Block] Columns Affects the Columns Block [Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@kjellr
Copy link
Contributor

kjellr commented Jun 25, 2021

Description

Step-by-step reproduction instructions

Please list the steps needed to reproduce the bug. For example:

  1. Add a column block.
  2. Create and populate a Navigation block inside of that column block.
  3. Notice that the items have no margin in between them.

Screenshots or screen recording (optional)

nav

Code snippet (optional)

<!-- wp:columns {"verticalAlignment":"center"} -->
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:navigation {"orientation":"horizontal","isResponsive":true} -->
<!-- wp:navigation-link {"label":"Home","type":"custom","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"About","type":"custom","id":701,"url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Posts","type":"custom","id":703,"url":"#","kind":"custom"} /-->
<!-- /wp:navigation --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

Gutenberg version 10.9.0
Tested in a variety of Block-based Themes.

@kjellr kjellr added [Type] Bug An existing feature does not function as intended [Block] Columns Affects the Columns Block [Block] Navigation Affects the Navigation Block labels Jun 25, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 28, 2021
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 [Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants