From 40c40f09f533a46f2882d6f62a2d660c2a5a733d Mon Sep 17 00:00:00 2001 From: Sergii Pavlenko Date: Tue, 24 Aug 2021 13:53:59 +0300 Subject: [PATCH] EWPP-1460: Remove shadow from image of organisation and person content type. --- sass/components/_global.scss | 4 ++++ .../oe-theme-helper-in-page-navigation--with-image.html.twig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sass/components/_global.scss b/sass/components/_global.scss index 93a97c37e6..5dbedc8009 100644 --- a/sass/components/_global.scss +++ b/sass/components/_global.scss @@ -25,3 +25,7 @@ a { margin-bottom: 0; } } + +.ecl-u-shadow-none { + box-shadow: none!important; +} diff --git a/templates/content/oe-theme-helper-in-page-navigation--with-image.html.twig b/templates/content/oe-theme-helper-in-page-navigation--with-image.html.twig index ea5beb4ff2..fff90a0463 100644 --- a/templates/content/oe-theme-helper-in-page-navigation--with-image.html.twig +++ b/templates/content/oe-theme-helper-in-page-navigation--with-image.html.twig @@ -15,7 +15,7 @@ {% include '@ecl-twig/media-container' with { 'image': image.src, 'alt': image.alt, - 'extra_classes': 'ecl-u-bg-white' + 'extra_classes': 'ecl-u-bg-white ecl-u-shadow-none' } %} {% endif %}