Skip to content

Commit

Permalink
Update the Image customization with #5581
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Dec 29, 2023
1 parent afd856c commit 25cf8f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Blocks/Image/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -44,6 +44,7 @@ export const ImageView = ({ className, data, detached, properties }) => {
data.align,
className,
)}
style={style}
>
{data.url && (
<>
Expand Down

0 comments on commit 25cf8f6

Please sign in to comment.