Skip to content

Commit

Permalink
Fix Sass compilation warning in step nav
Browse files Browse the repository at this point in the history
- use `calc` as required
  • Loading branch information
andysellick committed Aug 6, 2024
1 parent ddad8bd commit ae49ec1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ $top-border: solid 1px govuk-colour("mid-grey");

@mixin step-nav-line-position {
left: 0;
margin-left: govuk-em(($number-circle-size / 2) - ($stroke-width / 2), 16);
margin-left: govuk-em(calc($number-circle-size / 2) - calc($stroke-width / 2), 16);
}

@mixin step-nav-line-position-large {
left: 0;
margin-left: govuk-em(($number-circle-size-large / 2) - ($stroke-width / 2), 16);
margin-left: govuk-em(calc($number-circle-size-large / 2) - calc($stroke-width / 2), 16);
}

// custom mixin as govuk-font does undesirable things at different breakpoints
Expand Down

0 comments on commit ae49ec1

Please sign in to comment.