WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.18k forks source link

Tag Cloud: Uneven spacing when set to the "Outline" style #66678

Open andersnoren opened 17 hours ago

andersnoren commented 17 hours ago

Description

When you set a Tag Cloud block to the "Outline" style, the spacing between the items is set both with a gap on the container and a margin-right on reach individual link element, resulting in uneven spacing between the items.

Step-by-step reproduction instructions

  1. Insert a Tag Cloud block.
  2. Set it to the "Outline" style.
  3. Inspect it on the front-end, and verify that there's both a gap on the .wp-block-tag-cloud container and a margin-right on each link element, resulting in an uneven spacing between each item.

Screenshots, screen recording, code snippet

Current Appearance With the margin-right removed in the inspector
Image Image

Environment info

WP 6.6.2 With our without Gutenberg Twenty Twenty-Four

Please confirm that you have searched existing issues in the repo.

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Please confirm which theme type you used for testing.