diff --git a/packages/volto-countup-block/src/View.jsx b/packages/volto-countup-block/src/View.jsx index 082a145..2c39e1b 100644 --- a/packages/volto-countup-block/src/View.jsx +++ b/packages/volto-countup-block/src/View.jsx @@ -4,7 +4,7 @@ import cx from 'classnames'; import { Segment } from 'semantic-ui-react'; import { withBlockExtensions } from '@plone/volto/helpers'; -const CountUpBlockView = ({ data, className }) => { +const CountUpBlockView = ({ data, className, style }) => { const values = config.blocks.blocksConfig['countUpBlock'].schemaValues; const { delay = values.delay ?? 0, @@ -50,15 +50,17 @@ const CountUpBlockView = ({ data, className }) => { const TitleTag = titleTag || 'h2'; return ( - - {title && titlePosition === 'above' && {title}} +
+ + {title && titlePosition === 'above' && {title}} - - {title && titlePosition === 'below' && {title}} - + + {title && titlePosition === 'below' && {title}} + +
); };