diff --git a/packages/block-editor/src/components/inserter/block-patterns.js b/packages/block-editor/src/components/inserter/block-patterns.js index 11e059eefb905..e06ab51748608 100644 --- a/packages/block-editor/src/components/inserter/block-patterns.js +++ b/packages/block-editor/src/components/inserter/block-patterns.js @@ -39,6 +39,9 @@ function BlockPattern( { pattern, onClick } ) { aria-label={ pattern.title } > +
+ { pattern.title } +
); } diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 0a0d2097ece10..f42976351875b 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -266,3 +266,9 @@ $block-inserter-tabs-height: 44px; min-height: 100px; } } + +.block-editor-inserter__patterns-item-title { + padding: $grid-unit-5; + font-size: 12px; + text-align: center; +}