diff --git a/src/config/settings.js b/src/config/settings.js index 6a778f3d..0da103a7 100644 --- a/src/config/settings.js +++ b/src/config/settings.js @@ -1,5 +1,14 @@ export const updateSettingsConfig = (config) => { config.settings.navDepth = 2; + + config.settings.fullWidthBlockTypes = [ + 'hero', + 'nsw_section', + 'nsw_inPageAlert', + 'nsw_announcementBar', + 'form', + ...(config.settings.fullWidthBlockTypes || []), + ]; }; export default updateSettingsConfig; diff --git a/src/customizations/volto-form-block/components/FormView.jsx b/src/customizations/volto-form-block/components/FormView.jsx index ce3057ca..d1af2049 100644 --- a/src/customizations/volto-form-block/components/FormView.jsx +++ b/src/customizations/volto-form-block/components/FormView.jsx @@ -80,12 +80,7 @@ const FormView = ({ ) : ( // TODO: The original component has a `loading` state. Is this needed here? -