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

Add desktop specific grid classes #1094

Merged
merged 1 commit into from
Jan 9, 2019
Merged

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented Dec 14, 2018

This supersedes #1041 and builds on work done in #1090.

These classes allow users to create more advanced layouts, such as used in the ‘check answers’ pattern, where the list of answers users the entire width at tablet, but is restricted to the left two-thirds on desktop.

There may be a need for breakpoint constrained classes in the future (for example, an at-tablet class which applies only whilst within the tablet breakpoint) so we’re using -from- to signify that the class applies at desktop and above.

Closes #1115

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1094 December 14, 2018 10:09 Inactive
@NickColley
Copy link
Contributor

I'm going to test this alongside the new component with Dave to check we're happy with all of this.

@dashouse
Copy link

dashouse commented Jan 8, 2019

This was tested as part of #1097 and worked as expected

Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to document this in the CHANGELOG but after that I think it's ready to merge.

@NickColley NickColley added this to the [NEXT] milestone Jan 9, 2019
These classes allow users to create more advanced layouts, such as used in the ‘check answers’ pattern, where the list of answers users the entire width at tablet, but is restricted to the left two-thirds on desktop.

There may be a need for breakpoint constrained classes in the future (for example, an `at-tablet` class which applies only whilst within the tablet breakpoint) so we’re using `-from-` to signify that the class applies at desktop _and above_.
@36degrees
Copy link
Contributor Author

Updated with a changelog entry.

@NickColley
Copy link
Contributor

👍

@36degrees 36degrees merged commit ac5c683 into master Jan 9, 2019
@36degrees 36degrees deleted the add-desktop-grid-classes branch January 9, 2019 12:42
@aliuk2012 aliuk2012 mentioned this pull request Jan 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants