diff --git a/core/themes/olivero/olivero.theme b/core/themes/olivero/olivero.theme index 2032f818892e0ae9904f0836617c8c9872c0c407..b9b68c23a6ec7b895eaef764a67cfb6054ff2086 100644 --- a/core/themes/olivero/olivero.theme +++ b/core/themes/olivero/olivero.theme @@ -359,7 +359,7 @@ function olivero_preprocess_field(&$variables) { $variables['attributes']['class'][] = 'text-content'; } - if ($variables['field_type'] == 'image' && $variables['element']['#view_mode'] == 'full' && !$variables["element"]["#is_multiple"]) { + if ($variables['field_type'] == 'image' && $variables['element']['#view_mode'] == 'full' && !$variables["element"]["#is_multiple"] && $variables['field_name'] !== 'user_picture') { $variables['attributes']['class'][] = 'wide-image'; } }