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 to GOV.UK Frontend 3.14.0 #1928

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Conversation

vanitabarrett
Copy link
Contributor

@vanitabarrett vanitabarrett commented Oct 4, 2021

New features

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 #2368: Add text-align override classes. Thanks to Ed Horsford 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 #2367: Allow govuk-spacing to output negative spacing. Thanks to Chris Hill-Scott for reporting this issue.

Fixes

@netlify
Copy link

netlify bot commented Oct 4, 2021

✔️ You can preview this change here:

🔨 Explore the source changes: 1c49b64

🔍 Inspect the deploy log: https://app.netlify.com/sites/govuk-design-system-preview/deploys/615b13b71f198a000820b80c

😎 Browse the preview: https://deploy-preview-1928--govuk-design-system-preview.netlify.app

@vanitabarrett vanitabarrett merged commit f7abf6b into main Oct 4, 2021
@vanitabarrett vanitabarrett deleted the update-frontend-3.14.0 branch October 4, 2021 14:53
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.

None yet

2 participants