From a54f56f4096efb150aacfd7f29869e60a78179d5 Mon Sep 17 00:00:00 2001 From: nagyad Date: Tue, 22 Aug 2023 18:13:16 +0200 Subject: [PATCH] EWPP-3386: Add margin bottom class. --- oe_theme.theme | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/oe_theme.theme b/oe_theme.theme index 9d2d97e0d..cd4e25c21 100644 --- a/oe_theme.theme +++ b/oe_theme.theme @@ -2336,3 +2336,12 @@ function oe_theme_preprocess_paragraph__oe_av_media(array &$variables): void { $variables['image'] = ImageValueObject::fromStyledImageItem($thumbnail, 'oe_theme_medium_no_crop'); } } + +/** + * Implements hook_preprocess_captcha(). + */ +function oe_theme_preprocess_captcha(&$variables) { + if (!empty($variables['attributes'])) { + $variables['attributes']['class'][] = 'ecl-u-mv-m'; + } +}