diff --git a/packages/block-library/src/editor.scss b/packages/block-library/src/editor.scss index e3642868034a5a..68e55637b49842 100644 --- a/packages/block-library/src/editor.scss +++ b/packages/block-library/src/editor.scss @@ -54,6 +54,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"; diff --git a/packages/block-library/src/tag-cloud/editor.scss b/packages/block-library/src/tag-cloud/editor.scss new file mode 100644 index 00000000000000..dc4f65384c6103 --- /dev/null +++ b/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; + } +}