Closed chrimesdev closed 5 years ago
The documentation for the Layout/Grid will also need information adding about the full-width container. It also might be an opportunity for re-writing some of the Grid pages on the Service Manual, as some classes aren't used any more and some of the guidance is incorrect.
Released in version 2.1.0
.
We've seen a need for new designs to support a full-width page design, spanning the entire width of the viewport. For example to fit content such as large data tables on the page without restricting it to a 'letterbox' design.
The current
nhsuk-width-container
is restricted to a max width of 960px. This could be modified to allow the 960px to be customisable via variables or an additionalnhsuk-width-container
class to give a full width layout with the relevant spacing and guttering. Similar tocontainer
andcontainer-fluid
classes used in the Bootstrap framework.