Add spacing between modal title and body
[MAILPOET-1510]
This commit is contained in:
@@ -77,10 +77,14 @@ body.mailpoet_modal_opened
|
||||
|
||||
.mailpoet_popup_body
|
||||
height: 92%
|
||||
margin-top: 20px
|
||||
|
||||
.button + .button
|
||||
margin-left: 10px
|
||||
|
||||
.mailpoet_popup_has_title .mailpoet_popup_body
|
||||
margin-top: 30px
|
||||
|
||||
// modal panel
|
||||
.mailpoet_modal_overlay.mailpoet_panel_overlay
|
||||
top: 32px
|
||||
|
@@ -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') {
|
||||
|
Reference in New Issue
Block a user