fix(styles): replace deprecated step-related Sass division
This commit is contained in:
@@ -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
|
// 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.
|
// Note - this code for prototype purposes only. It is not production code.
|
||||||
|
|
||||||
|
@use "sass:math";
|
||||||
|
|
||||||
.app-step-nav-related {
|
.app-step-nav-related {
|
||||||
@include govuk-text-colour;
|
@include govuk-text-colour;
|
||||||
border-top: 2px solid govuk-colour("blue");
|
border-top: 2px solid govuk-colour("blue");
|
||||||
@@ -32,7 +34,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.app-step-nav-related__pretitle {
|
.app-step-nav-related__pretitle {
|
||||||
margin-bottom: govuk-spacing(6) / 4;
|
margin-bottom: math.div(govuk-spacing(6), 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user