From 0662b87da77172006a1c2931948401a1ea08bf54 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Tue, 26 Sep 2023 18:44:36 +0100 Subject: [PATCH] Lint SCSS --- x-govuk/components/masthead/_breadcrumbs.scss | 2 +- x-govuk/components/primary-navigation/_primary-navigation.scss | 2 +- x-govuk/components/sub-navigation/_sub-navigation.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x-govuk/components/masthead/_breadcrumbs.scss b/x-govuk/components/masthead/_breadcrumbs.scss index 75dfe6a..9b49b7d 100644 --- a/x-govuk/components/masthead/_breadcrumbs.scss +++ b/x-govuk/components/masthead/_breadcrumbs.scss @@ -5,7 +5,7 @@ color: $x-govuk-masthead-colour; margin-top: 0; - .govuk-breadcrumbs__list-item:before { + .govuk-breadcrumbs__list-item::before { border-color: $x-govuk-masthead-colour; } diff --git a/x-govuk/components/primary-navigation/_primary-navigation.scss b/x-govuk/components/primary-navigation/_primary-navigation.scss index 938dcf4..0dddc37 100644 --- a/x-govuk/components/primary-navigation/_primary-navigation.scss +++ b/x-govuk/components/primary-navigation/_primary-navigation.scss @@ -54,7 +54,7 @@ @include govuk-typography-weight-bold; // Extend the touch area of the link to the list - &:after { + &::after { bottom: 0; content: ""; left: 0; diff --git a/x-govuk/components/sub-navigation/_sub-navigation.scss b/x-govuk/components/sub-navigation/_sub-navigation.scss index d20189c..ed41ff3 100644 --- a/x-govuk/components/sub-navigation/_sub-navigation.scss +++ b/x-govuk/components/sub-navigation/_sub-navigation.scss @@ -44,7 +44,7 @@ padding-left: govuk-spacing(4); } -.x-govuk-sub-navigation__section--nested .x-govuk-sub-navigation__section-item:before { +.x-govuk-sub-navigation__section--nested .x-govuk-sub-navigation__section-item::before { color: govuk-colour("dark-grey"); content: "—"; margin-left: -(govuk-spacing(4));