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

Update details behaviour to remove margin-bottom for all elements #900

Merged
merged 2 commits into from
Jul 16, 2018

Conversation

NickColley
Copy link
Contributor

If we have a form-group it will not be caught by the logic that only targets paragraphs.

This is consistent with the tabs and conditional reveal logic.

Fixes #899

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-900 July 13, 2018 15:47 Inactive
If we have a form-group it will not be caught by the logic that only targets paragraphs.

This is consistent with the tabs and conditional reveal logic.
@NickColley NickColley force-pushed the remove-margin-bottom-details-last-child branch from 1eb86eb to c659e6b Compare July 13, 2018 15:49
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-900 July 13, 2018 15:49 Inactive
@NickColley NickColley changed the title Updates details behaviour to remove margin-bottom for all elements Update details behaviour to remove margin-bottom for all elements Jul 13, 2018
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-900 July 13, 2018 15:52 Inactive
@@ -75,12 +75,12 @@
border-left: $govuk-border-width solid $govuk-border-colour;
}

.govuk-details__text p {
.govuk-details__text > p {
Copy link
Contributor Author

@NickColley NickColley Jul 13, 2018

Choose a reason for hiding this comment

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

Might be a breaking change actually 🤔

If the original feature was flakey, I'm not sure making it more robust is breaking.

I guess it is?

@NickColley NickColley requested a review from dashouse July 16, 2018 09:09
@dashouse
Copy link

👍

@NickColley NickColley merged commit 920e747 into master Jul 16, 2018
@NickColley NickColley deleted the remove-margin-bottom-details-last-child branch July 16, 2018 09:21
@36degrees 36degrees added this to the [NEXT] milestone Jul 17, 2018
@NickColley NickColley mentioned this pull request Jul 17, 2018
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.

5 participants