From cb24e02ce74d432d6f61c4b39551e0c1a872a767 Mon Sep 17 00:00:00 2001 From: robbond Date: Tue, 3 Nov 2026 13:27:35 +0000 Subject: [PATCH] fix(styles): replace deprecated step-related Sass division --- styles/sass/patterns/_step-by-step-related.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/styles/sass/patterns/_step-by-step-related.scss b/styles/sass/patterns/_step-by-step-related.scss index 6431cc66..cd50e391 100644 --- a/styles/sass/patterns/_step-by-step-related.scss +++ b/styles/sass/patterns/_step-by-step-related.scss @@ -1,6 +1,8 @@ // Based on https://github.com/alphagov/govuk_publishing_components/blob/v22.0.0/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-related.scss // Note - this code for prototype purposes only. It is not production code. +@use "sass:math"; + .app-step-nav-related { @include govuk-text-colour; border-top: 2px solid govuk-colour("blue"); @@ -32,7 +34,7 @@ } .app-step-nav-related__pretitle { - margin-bottom: govuk-spacing(6) / 4; + margin-bottom: math.div(govuk-spacing(6), 4); } }