Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refs #416] Extend the page layout to include a fluid-width container. #418

Merged
merged 3 commits into from
Mar 19, 2019

Conversation

chrimesdev
Copy link
Member

@chrimesdev chrimesdev commented Mar 18, 2019

Description

The current nhsuk-width-container is restricted to a max width of 960px. A new container has been added (nhsuk-width-container-fluid), which which spans the entire width of the viewport and allows for full-screen layouts.

To Do:
Just in process of writing up the documentation for the service manual, should be ready before we release 2.10.

@chrimesdev chrimesdev marked this pull request as ready for review March 18, 2019 11:04
@chrimesdev chrimesdev requested a review from mcheung-nhs March 18, 2019 11:04
The current nhsuk-width-container is restricted to a max width of 960px.
A new container has been added (nhsuk-width-container-fluid), which
which spans the entire width of the viewport and allows for full
screen layouts.
@chrimesdev chrimesdev force-pushed the feature/fluid-container branch from d34f0ae to b0ec921 Compare March 18, 2019 11:22
@chrimesdev
Copy link
Member Author

@davidhunter08 can you check the spacing of the guttering? It's 16px same as the guttering on the normal container, but not sure if its too tight to the edge.

@mcheung-nhs
Copy link
Collaborator

Am happy with code. Personally I'd prefer 32px guttering when going full width, but happy to hear what @davidhunter08 thinks.

Add examples for the fixed-width and fluid-width containers to the Core
folder README.
@davidhunter08
Copy link
Contributor

I agree with @mcheung-nhs, I think it should be a 32px guttering for nhsuk-width-container-fluid from the desktop breakpoint (990px).

Have the guttering to go 32px above the desktop breakpoint of 769px.
@davidhunter08 davidhunter08 merged commit dabc0e2 into master Mar 19, 2019
@davidhunter08
Copy link
Contributor

Looking good, @AdamChrimes

@davidhunter08 davidhunter08 deleted the feature/fluid-container branch March 19, 2019 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants