Add spacing between modal title and body

[MAILPOET-1510]
This commit is contained in:
Jan Jakeš
2019-01-16 15:03:03 +01:00
parent dd2b496718
commit 8fb96ee2bd
2 changed files with 6 additions and 0 deletions

View File

@@ -147,6 +147,8 @@ define('modal', ['mailpoet', 'jquery'],
jQuery('#mailpoet_modal_overlay')
.append(modal(this.options));
// set title
jQuery('#mailpoet_popup')
.toggleClass('mailpoet_popup_has_title', Boolean(this.options.title));
jQuery('#mailpoet_popup_title h2')
.html(this.options.title);
} else if (this.options.type === 'panel') {