From 25cf8f62d4a89e53ca13f09764e44f49b5f659b5 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Fri, 29 Dec 2023 16:16:52 +0100 Subject: [PATCH] Update the Image customization with #5581 --- src/components/Blocks/Image/View.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Blocks/Image/View.jsx b/src/components/Blocks/Image/View.jsx index 4fc332bc..503ab72c 100644 --- a/src/components/Blocks/Image/View.jsx +++ b/src/components/Blocks/Image/View.jsx @@ -20,7 +20,7 @@ import config from '@plone/volto/registry'; * @class View * @extends Component */ -export const ImageView = ({ className, data, detached, properties }) => { +export const ImageView = ({ className, data, detached, properties, style }) => { let href; if (data.href?.length > 0) { if (typeof data.href === 'object') { @@ -44,6 +44,7 @@ export const ImageView = ({ className, data, detached, properties }) => { data.align, className, )} + style={style} > {data.url && ( <>