Use automation prefix for classNames

[MAILPOET-4533]
This commit is contained in:
David Remer
2022-09-14 14:16:55 +03:00
committed by Jan Jakeš
parent 0748e64ac0
commit a07052c834
4 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
max-width: 982px; max-width: 982px;
} }
ul.mailpoet-templates { ul.mailpoet-automation-templates {
clear: both; clear: both;
cursor: pointer; cursor: pointer;
display: grid; display: grid;
@@ -54,7 +54,7 @@ ul.mailpoet-templates {
margin: 8px 0 0; margin: 8px 0 0;
} }
.mailpoet-from-scratch { .mailpoet-automation-from-scratch {
button { button {
align-content: center; align-content: center;
border: 2px dashed #dcdcde; border: 2px dashed #dcdcde;

View File

@@ -78,7 +78,7 @@ export function FromScratchListItem(): JSX.Element {
}, errorHandler); }, errorHandler);
}, []); }, []);
return ( return (
<li className="mailpoet-template-list-item mailpoet-from-scratch"> <li className="mailpoet-automation-template-list-item mailpoet-automation-from-scratch">
{error && ( {error && (
<Notice type="error" closable timeout={false}> <Notice type="error" closable timeout={false}>
<p>{error}</p> <p>{error}</p>

View File

@@ -42,7 +42,7 @@ export function TemplateListItem({
} }
return ( return (
<li className="mailpoet-template-list-item"> <li className="mailpoet-automation-template-list-item">
{notice} {notice}
<Button <Button
isBusy={loading} isBusy={loading}

View File

@@ -21,7 +21,7 @@ function Templates(): JSX.Element {
<FromScratchButton /> <FromScratchButton />
</Flex> </Flex>
<ul className="mailpoet-templates"> <ul className="mailpoet-automation-templates">
{workflowTemplates.map((template) => ( {workflowTemplates.map((template) => (
<TemplateListItem key={template.slug} template={template} /> <TemplateListItem key={template.slug} template={template} />
))} ))}