diff --git a/src/config/italiaConfig.js b/src/config/italiaConfig.js index 2929a40aa..17ab57983 100644 --- a/src/config/italiaConfig.js +++ b/src/config/italiaConfig.js @@ -65,8 +65,8 @@ import { schemaListing } from 'design-comuni-plone-theme/components/ItaliaTheme/ import reducers from 'design-comuni-plone-theme/reducers'; -const ReleaseLog = loadable( - () => import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'), +const ReleaseLog = loadable(() => + import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'), ); const messages = defineMessages({ @@ -486,10 +486,9 @@ export default function applyConfig(voltoConfig) { }, }; // Remove Horizontal Menu variation of TOC Block - config.blocks.blocksConfig.toc.variations = - config.blocks.blocksConfig.toc.variations.filter( - (v) => v.id !== 'horizontalMenu', - ); + config.blocks.blocksConfig.toc.variations = config.blocks.blocksConfig.toc.variations.filter( + (v) => v.id !== 'horizontalMenu', + ); // COMPONENTS config.components = { diff --git a/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx b/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx index cad27aa3f..946009590 100644 --- a/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +++ b/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx @@ -68,7 +68,7 @@ const ListingBody = React.memo( if (!block?.show_block_bg && !isSearchBlockResults) return 'full-width'; - let bg_color = data.bg_color ? `bg-${data.bg_color}` : ''; + let bg_color = data.bg_color ? `bg-${data.bg_color}` : 'bg-light'; if (block.template === 'gridGalleryTemplate') { return `section section-muted section-inset-shadow py-5 ${bg_color} ${ @@ -76,7 +76,7 @@ const ListingBody = React.memo( }`; } else { return `py-5 ${bg_color} ${ - isSearchBlockResults ? 'template-wrapper' : 'bg-light full-width' + isSearchBlockResults ? 'template-wrapper' : 'full-width' }`; } };