Skip to content

Commit

Permalink
Add release notes for Frontend v3.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EoinShaughnessy committed Sep 29, 2021
1 parent 8eecf8a commit 376a1ed
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@

## Unreleased

## 3.14.0 (Feature release)

### New features

#### Use override classes to set text alignment
#### Set text alignment with override classes

You can now use the `govuk-!-text-align-left`, `govuk-!-text-align-centre` and `govuk-!-text-align-right` CSS classes to set text alignment on elements.

This was added in [pull request #2339: Add text align override classes](https://github.com/alphagov/govuk-frontend/pull/2339).
This was added in [pull request #2339: Add `text-align` override classes](https://github.com/alphagov/govuk-frontend/pull/2339). Thanks to [Ed Horsford](https://github.com/edwardhorsford) for reporting this issue.

#### Define negative spacing using the `govuk-spacing` function

You can now pass the negative equivalent of a point from the spacing scale to the `govuk-spacing` function to get negative spacing.

For example, `govuk-spacing(1)` returns `5px`, and `govuk-spacing(-1)` returns `-5px`.

This was added in [pull request #2348: Allow govuk-spacing to output negative spacing](https://github.com/alphagov/govuk-frontend/pull/2348).
This was added in [pull request #2348: Allow `govuk-spacing` to output negative spacing](https://github.com/alphagov/govuk-frontend/pull/2348). Thanks to [Chris Hill-Scott](https://github.com/quis) for reporting this issue.

### Fixes

- [#2347: Fix panel text overflowing when zoomed in on mobile #2347](https://github.com/alphagov/govuk-frontend/pull/2347)
- [#2347: Prevent panel text overflowing when zoomed in on mobile](https://github.com/alphagov/govuk-frontend/pull/2347) - thanks to [Phil Sherry](https://github.com/philsherry) for reporting this issue.

## 3.13.1 (Fix release)

Expand Down

0 comments on commit 376a1ed

Please sign in to comment.