Skip to content

Commit

Permalink
Update remaining calls that pass font maps
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Jun 7, 2018
1 parent d40b075 commit 5fbe610
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/back-link/_back-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@include govuk-exports("govuk/component/back-link") {

.govuk-back-link {
@include govuk-typography-responsive($govuk-font-16);
@include govuk-typography-responsive($size: 16);
@include govuk-link-common;
@include govuk-link-style-text;

Expand Down
5 changes: 1 addition & 4 deletions src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,7 @@

.govuk-button--start {
@include govuk-typography-weight-bold;
@include govuk-typography-responsive(
$govuk-font-24,
$override-line-height: 1
);
@include govuk-typography-responsive($size: 24, $override-line-height: 1);

min-height: auto;
padding-top: $govuk-spacing-scale-2 - $govuk-border-width-form-element;
Expand Down
2 changes: 1 addition & 1 deletion src/components/skip-link/_skip-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@include govuk-visually-hidden-focusable;
@include govuk-link-common;
@include govuk-link-style-text;
@include govuk-typography-responsive($govuk-font-16);
@include govuk-typography-responsive($size: 16);

display: block;
padding: $govuk-spacing-scale-2 $govuk-spacing-scale-3;
Expand Down

0 comments on commit 5fbe610

Please sign in to comment.