Add opt-in full-width tablet breakpoint #1014
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
API Platform have an unusual UX use case.
End users of third party software have to complete an "authorisation journey" on MDTP to get something called an access token, which their software can then use to call our APIs. The authorisation journey includes: a start page, sign in, all the 2SV pages, all the IV pages and a "grant authority" page.
A lot of third party software is fat client, so the authorisation journey is run in a browser launched by their software - usually IE and often at a specific page width of 650px.
MDTP pages use the standard two-thirds/one-third page split at 650px, meaning a lot of word wrapping on the left and a lot of whitespace on the right.
Solution
Add an opt-in breakpoint for services that need to be full-width at tablet viewport widths.
Notes
*-from-desktop
class (added Add desktop specific grid classes alphagov/govuk-frontend#1094)..full-width
class.