Skip to content

Commit

Permalink
Merge pull request #900 from alphagov/remove-margin-bottom-details-la…
Browse files Browse the repository at this point in the history
…st-child

Update details behaviour to remove margin-bottom for all elements
  • Loading branch information
NickColley authored Jul 16, 2018
2 parents fced25f + ebb6d16 commit 920e747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@

🔧 Fixes:

- Pull Request Title goes here

Description goes here (optional)
- Update details behaviour to remove margin-bottom for all elements

([PR #N](https://github.com/alphagov/govuk-frontend/pull/N))
([PR #900](https://github.com/alphagov/govuk-frontend/pull/900))

## 1.1.0 (feature release)

Expand Down
2 changes: 1 addition & 1 deletion src/components/details/_details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
margin-bottom: govuk-spacing(4);
}

.govuk-details__text p:last-child {
.govuk-details__text > :last-child {
margin-bottom: 0;
}
}

0 comments on commit 920e747

Please sign in to comment.