diff --git a/packages/js/email-editor/src/components/template-select/index.scss b/packages/js/email-editor/src/components/template-select/index.scss index 547b3c7553..148c1860b2 100644 --- a/packages/js/email-editor/src/components/template-select/index.scss +++ b/packages/js/email-editor/src/components/template-select/index.scss @@ -11,3 +11,26 @@ .block-editor-block-patterns-list__list-item { overflow: hidden; } + +.email-editor-recent-templates-info { + background-color: #F0F6FC; + margin-bottom: 1.5rem; + padding: 0.5rem; + + path { fill: #007CBA; } +} + +.email-editor-pattern__list-item { + border: 1px solid #DDD; + border-radius: 4px; + + .block-editor-block-preview__container:after { + outline: unset !important; + outline-offset: unset !important; + } + + .block-editor-block-patterns-list__item-title { + font-size: unset !important; + padding-left: 1rem; + } +} diff --git a/packages/js/email-editor/src/components/template-select/template-list.tsx b/packages/js/email-editor/src/components/template-select/template-list.tsx index f1ac8282d5..1f89274f31 100644 --- a/packages/js/email-editor/src/components/template-select/template-list.tsx +++ b/packages/js/email-editor/src/components/template-select/template-list.tsx @@ -3,7 +3,6 @@ import { useMemo, memo } from '@wordpress/element'; import { BlockPreview } from '@wordpress/block-editor'; import { __experimentalHStack as HStack, // eslint-disable-line - Notice, } from '@wordpress/components'; import { Icon, info, blockDefault } from '@wordpress/icons'; import { __ } from '@wordpress/i18n'; @@ -47,7 +46,7 @@ function TemplateListBox( { { templates.map( ( template ) => (
-
+

{ template.template.title.rendered } -

+
@@ -115,7 +114,7 @@ export function TemplateList( { return (
{ selectedCategory === 'recent' && ( - +

@@ -125,7 +124,7 @@ export function TemplateList( { ) }

- +
) }