Move inlined form styles to form styles in style element
[MAILPOET-2811]
This commit is contained in:
committed by
Veljko V
parent
2eabab4150
commit
63a972db4a
@ -30,7 +30,7 @@ class Renderer {
|
||||
$html = '<style type="text/css">';
|
||||
$html .= '.mailpoet_hp_email_label{display:none!important;}'; // move honeypot field out of sight
|
||||
$html .= $this->styleUtils->prefixStyles($this->getCustomStyles($form), $prefix);
|
||||
$html .= $this->styleUtils->renderFormDivWrapperStyles($form, $prefix);
|
||||
$html .= $this->styleUtils->renderFormSettingsStyles($form, $prefix);
|
||||
$html .= '</style>';
|
||||
|
||||
return $html;
|
||||
@ -94,8 +94,4 @@ class Renderer {
|
||||
<input class="mailpoet_recaptcha_field" type="hidden" name="recaptcha">
|
||||
</div>';
|
||||
}
|
||||
|
||||
public function renderFormElementStyles(array $form): string {
|
||||
return $this->styleUtils->renderFormElementStyles($form);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user