Adjust drag & drop tutorial for new modal design
[MAILPOET-1510]
This commit is contained in:
@@ -26,10 +26,6 @@
|
|||||||
|
|
||||||
.mailpoet_drag_and_drop_tutorial
|
.mailpoet_drag_and_drop_tutorial
|
||||||
text-align: center
|
text-align: center
|
||||||
h2
|
|
||||||
font-size: 28px
|
|
||||||
video
|
|
||||||
margin-top: 20px
|
|
||||||
|
|
||||||
.new_subscriber_notification_announcement
|
.new_subscriber_notification_announcement
|
||||||
h2
|
h2
|
||||||
|
@@ -10,7 +10,8 @@ const displayTutorial = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MailPoet.Modal.popup({
|
MailPoet.Modal.popup({
|
||||||
template: `<div class="mailpoet_drag_and_drop_tutorial"><h2>${MailPoet.I18n.t('tutorialVideoTitle')}</h2><video style="height:640px;" src="${window.config.dragDemoUrl}" controls autoplay></video></div>`,
|
title: MailPoet.I18n.t('tutorialVideoTitle'),
|
||||||
|
template: `<div class="mailpoet_drag_and_drop_tutorial"><video style="height:640px;" src="${window.config.dragDemoUrl}" controls autoplay></video></div>`,
|
||||||
onCancel: () => {
|
onCancel: () => {
|
||||||
MailPoet.Ajax.post({
|
MailPoet.Ajax.post({
|
||||||
api_version: window.mailpoet_api_version,
|
api_version: window.mailpoet_api_version,
|
||||||
|
Reference in New Issue
Block a user