Ensure honeypot field is not visible

[MAILPOET-2755]
This commit is contained in:
Ján Mikláš
2020-03-27 10:17:37 +01:00
committed by Veljko V
parent 7676e344ac
commit 9f7c98c5e0
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ class Renderer {
public function renderStyles(array $form = [], string $prefix = null): string {
$html = '<style type="text/css">';
$html .= '.mailpoet_hp_email_label{display:none;}'; // move honeypot field out of sight
$html .= '.mailpoet_hp_email_label{display:none!important;}'; // move honeypot field out of sight
$html .= $this->styleUtils->render($this->getStyles($form), $prefix);
$html .= '</style>';