Skip to content

Commit

Permalink
Remove redundant font-family rule in button
Browse files Browse the repository at this point in the history
Remove explicit font-family definition from the button scss. We don't need it because we get it as part of the included `govuk-font-regular` mixin which defines the font for us.

This will remove a redundant duplicated font-family rule and also mean that the button will correctly fall back to the print font when printed.
  • Loading branch information
36degrees committed Apr 12, 2018
1 parent 1affb48 commit 8a2634c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
color: $govuk-button-text-colour;
background-color: $govuk-button-colour;
box-shadow: 0 $button-shadow-size 0 $govuk-button-shadow-colour; // s0
font-family: $govuk-font-stack;
text-align: center;
vertical-align: top;
cursor: pointer;
Expand Down

0 comments on commit 8a2634c

Please sign in to comment.