Skip to content

Commit 02df879

Browse files
committed
security-package/issues/188: Added CSS styles.
1 parent 8153e97 commit 02df879

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

ReCaptchaAdminUi/Block/Adminhtml/System/Config/Form/Field/Notice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class Notice extends Field
2525
*/
2626
public function render(AbstractElement $element)
2727
{
28-
$html = '<td colspan="4">' . '<strong>' . __('Important:') . ' ' . '</strong>'
28+
$html = '<td colspan="4"><p>' . '<strong>' . __('Important:') . ' ' . '</strong>'
2929
. ' <span>' . __('Please note, for reCAPTCHA to be enabled,
30-
the valid "Google API Website Key" and "Google API Secret Key" fields are required.') . '</span>' . '</td>';
30+
the valid "Google API Website Key" and "Google API Secret Key" fields are required.') . '</span>' . '</p></td>';
3131

3232
return $this->_decorateRowHtml($element, $html);
3333
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
#recaptcha_frontend_type_for,
6+
#recaptcha_backend_type_for
7+
{
8+
strong {
9+
color: @grid-severity-critical-color;
10+
}
11+
}

0 commit comments

Comments
 (0)