Move last paragraph styles to be more specific

[MAILPOET-2964]
This commit is contained in:
Pavel Dohnal
2020-06-15 12:43:22 +02:00
committed by Veljko V
parent cee3516dc6
commit c4cea7335b
2 changed files with 4 additions and 11 deletions

View File

@ -194,11 +194,14 @@ EOL;
$messagesStyles = $this->renderMessagesStyles($formSettings, $selector);
$additionalStyles = $selector . ' .mailpoet_paragraph.last {margin-bottom: 0}';
return $formWrapperStyles
. $formElementStyles
. $widthStyles
. $messagesStyles
. $typeSpecificStyles
. $additionalStyles
. $media;
}