Skip to content

Commit

Permalink
Merge pull request #1185 from MoJ-Longbeard/patch-2
Browse files Browse the repository at this point in the history
Prevent summary list from wrapping mid-word for most browsers
  • Loading branch information
NickColley authored Feb 15, 2019
2 parents 9b6ee37 + 139165e commit db51f6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@

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


- Prevent summary list from wrapping mid-word for most browsers

Thanks to [Malcolm Butler](https://github.com/MoJ-Longbeard) for fixing this issue!

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


## 2.7.0 (Feature release)

🆕 New features:
Expand Down
2 changes: 1 addition & 1 deletion src/components/summary-list/_summary-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
.govuk-summary-list__value {
// sass-lint:disable no-duplicate-properties
// Automatic wrapping for unbreakable text (e.g. URLs)
word-break: break-word; // WebKit/Blink only
word-break: break-all; // Standards
word-break: break-word; // WebKit/Blink only
}

.govuk-summary-list__key {
Expand Down

0 comments on commit db51f6b

Please sign in to comment.