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

Tag Cloud Block: Fix outline style not applied in editor #49248

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/block-library/src/editor.scss
Expand Up @@ -51,6 +51,7 @@
@import "./query-pagination-numbers/editor.scss";
@import "./post-featured-image/editor.scss";
@import "./post-comments-form/editor.scss";
@import "./tag-cloud/editor.scss";

@import "./editor-elements.scss";

Expand Down
11 changes: 11 additions & 0 deletions packages/block-library/src/tag-cloud/editor.scss
@@ -0,0 +1,11 @@
.wp-block-tag-cloud.is-style-outline {
display: block;

// CSS classes are not passed to the ServerSideRender component,
// so nested selectors must be used to apply outline block styles.
.wp-block-tag-cloud {
display: flex;
flex-wrap: wrap;
gap: 1ch;
}
}