From a07052c834e97ba3c6fa94cdd54a94e3f9922804 Mon Sep 17 00:00:00 2001 From: David Remer Date: Wed, 14 Sep 2022 14:16:55 +0300 Subject: [PATCH] Use automation prefix for classNames [MAILPOET-4533] --- mailpoet/assets/css/src/mailpoet-automation-templates.scss | 4 ++-- .../js/src/automation/templates/components/from-scratch.tsx | 2 +- .../automation/templates/components/template-list-item.tsx | 2 +- mailpoet/assets/js/src/automation/templates/index.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mailpoet/assets/css/src/mailpoet-automation-templates.scss b/mailpoet/assets/css/src/mailpoet-automation-templates.scss index 952d8075a4..95f8135cc4 100644 --- a/mailpoet/assets/css/src/mailpoet-automation-templates.scss +++ b/mailpoet/assets/css/src/mailpoet-automation-templates.scss @@ -3,7 +3,7 @@ max-width: 982px; } -ul.mailpoet-templates { +ul.mailpoet-automation-templates { clear: both; cursor: pointer; display: grid; @@ -54,7 +54,7 @@ ul.mailpoet-templates { margin: 8px 0 0; } - .mailpoet-from-scratch { + .mailpoet-automation-from-scratch { button { align-content: center; border: 2px dashed #dcdcde; diff --git a/mailpoet/assets/js/src/automation/templates/components/from-scratch.tsx b/mailpoet/assets/js/src/automation/templates/components/from-scratch.tsx index 2bab28df52..8938652d36 100644 --- a/mailpoet/assets/js/src/automation/templates/components/from-scratch.tsx +++ b/mailpoet/assets/js/src/automation/templates/components/from-scratch.tsx @@ -78,7 +78,7 @@ export function FromScratchListItem(): JSX.Element { }, errorHandler); }, []); return ( -
  • +
  • {error && (

    {error}

    diff --git a/mailpoet/assets/js/src/automation/templates/components/template-list-item.tsx b/mailpoet/assets/js/src/automation/templates/components/template-list-item.tsx index 1233058256..379cd22233 100644 --- a/mailpoet/assets/js/src/automation/templates/components/template-list-item.tsx +++ b/mailpoet/assets/js/src/automation/templates/components/template-list-item.tsx @@ -42,7 +42,7 @@ export function TemplateListItem({ } return ( -
  • +
  • {notice}