Apply newsletter background color to template preview images

This commit is contained in:
Tautvidas Sipavičius
2015-12-15 13:34:21 +02:00
parent be3462925d
commit f02699158f
2 changed files with 4 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ define(
handleShowTemplate: function(template) {
MailPoet.Modal.popup({
title: template.name,
template: '<img src="{{ thumbnail }}" />',
template: '<div class="mailpoet_boxes_preview" style="background-color: {{ body.globalStyles.body.backgroundColor }}"><img src="{{ thumbnail }}" /></div>',
data: template,
});
},