From bbc74c6fbf8e83a6f85a42a72509e281d05df116 Mon Sep 17 00:00:00 2001 From: beeps Date: Mon, 15 Apr 2024 13:30:39 +0100 Subject: [PATCH] Fix skiplink underline being removed when global styles enabled --- CHANGELOG.md | 1 + .../govuk-frontend/src/govuk/components/skip-link/_index.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85454c22e2..aa7bda589e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ We've made fixes to GOV.UK Frontend in the following pull requests: - [#4919: Use canvas colour for cookie banner over hardcoded grey](https://github.com/alphagov/govuk-frontend/pull/4919) - [#4899: Remove indents from conditional reveals in radios and checkboxes](https://github.com/alphagov/govuk-frontend/pull/4899) - [#4935: Fix password input button unexpectedly stretching](https://github.com/alphagov/govuk-frontend/pull/4935) +- [#4936: Fix skip link underline being removed when global styles are enabled](https://github.com/alphagov/govuk-frontend/pull/4936) ## GOV.UK Frontend v5.3.0 (Feature release) diff --git a/packages/govuk-frontend/src/govuk/components/skip-link/_index.scss b/packages/govuk-frontend/src/govuk/components/skip-link/_index.scss index a166ba8ecb..66812c9323 100644 --- a/packages/govuk-frontend/src/govuk/components/skip-link/_index.scss +++ b/packages/govuk-frontend/src/govuk/components/skip-link/_index.scss @@ -27,6 +27,7 @@ // Undo unwanted changes when global styles are enabled @if $govuk-global-styles { + @include govuk-link-decoration; box-shadow: none; } }