GSS-Cogs / dd-cms

A data-driven content management system prototype, based on Plone/Volto and data blocks
1 stars 0 forks source link

Margins / layout for CCv2 #243

Closed ajtucker closed 2 years ago

ajtucker commented 2 years ago

It looks like we're missing some margins in the CCv2 layout, in that the main body/content has margin: 0 by the looks:

image

Maybe the content has been taken outside of <div class="volto-width-container--wide">?

ajtucker commented 2 years ago

Also, someone needs to check whether Lewis was already on this in #190 and #195.

ajtucker commented 2 years ago

It looks as though volto-width-contrainer--wide is used in the volto-govuk-theme in App.jsx, overriding the default, but then isn't used in volto-climatechange-elements, which again overrides the volto-govuk-theme component.