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

Ensure inset component does not misalign nested components #1232

Merged
merged 3 commits into from
Mar 5, 2019

Conversation

NickColley
Copy link
Contributor

Ensures any children of the inset component are only targeted one level deep, which is consistent with the other uses of this pseudo selector in other components.

Fixes #1225

Screenshots

Before

Before, warning text component is misaligned

After

After, warning text component is not misaligned

This is consistent with any other usage of pseudo selectors that remove
unwanted spacing in children.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1232 March 4, 2019 15:33 Inactive
@NickColley NickColley changed the title Ensure component css are one level deep Ensure inset component does not misalign nested components Mar 4, 2019
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1232 March 4, 2019 15:34 Inactive
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

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

👍

@36degrees 36degrees added this to the 2.8.0 milestone Mar 4, 2019
@NickColley NickColley force-pushed the ensure-component-css-are-one-level-deep branch from 33a1d99 to 92e8815 Compare March 4, 2019 15:35
@NickColley NickColley merged commit 77de053 into master Mar 5, 2019
@NickColley NickColley deleted the ensure-component-css-are-one-level-deep branch March 5, 2019 10:52
@36degrees 36degrees mentioned this pull request Mar 5, 2019
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