Skip to content

Commit b61aeed

Browse files
Infinite-NullInfinite-Nullyouknowriadandersnoren
authored andcommitted
Tag Cloud: Update styles and add !important (WordPress#70224)
Unlinked contributors: jennajaehnig. Co-authored-by: Infinite-Null <ankitkumarshah@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org> Co-authored-by: andersnoren <anlino@git.wordpress.org>
1 parent 58ec8ce commit b61aeed

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/block-library/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
### Bug Fixes
1616

17+
- Tag Cloud: Space the tags of the Outline style evenly. The base link margin outranked the style's own reset, so each tag carried that margin on top of the container's gap and the horizontal spacing did not match the spacing between rows ([#70224](https://github.com/WordPress/gutenberg/pull/70224)).
1718
- Image: Stop a click on the enlarged image from closing the lightbox, so tapping the image to inspect it, or mis-tapping while reaching for Previous or Next, no longer dismisses it. The Close button, Escape and the area around the image still close the lightbox ([#78898](https://github.com/WordPress/gutenberg/pull/78898)).
1819
- Math: Align the cells of `aligned` and `cases`, and draw `\overline` and `\underline`, in Chromium, in the Math block and in inline math. The rules key on the MathML attributes and only apply where the engine does not render them natively ([#83164](https://github.com/WordPress/gutenberg/pull/83164)).
1920
- Image: Fix the lightbox being impossible to close when its overlay is not a direct child of `<body>` ([#83480](https://github.com/WordPress/gutenberg/pull/83480)).

‎packages/block-library/src/tag-cloud/style.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
:root :where(.wp-block-tag-cloud.is-style-outline a) {
3131
border: 1px solid currentColor;
3232
font-size: unset !important; // !important Needed to override the inline styles.
33-
margin-right: 0;
33+
margin-right: 0 !important; // !important needed to override the margin the base `.wp-block-tag-cloud a` rule sets for the default style.
3434
padding: 1ch 2ch;
3535
text-decoration: none !important; // !important needed to override generic post content link decoration.
3636
}

0 commit comments

Comments
 (0)