Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant font-family rule in button #650

Merged
merged 2 commits into from Apr 12, 2018

Conversation

36degrees
Copy link
Member

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.

Hat tip to @dashouse for spotting this 馃憖

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-650 April 12, 2018 11:02 Inactive
Copy link

@kr8n3r kr8n3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good but let's wait for 0.0.27 release
also does it need a changelog?

@36degrees
Copy link
Member Author

Yep, but can't do that until #648 is merged!

@hannalaakso
Copy link
Member

Release 0.0.27 is out 馃挜

Copy link
Member

@hannalaakso hannalaakso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go 馃憤 (as long as changelog is updated)

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.
Copy link

@kr8n3r kr8n3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log

@36degrees
Copy link
Member Author

Rebased and documented in changelog.

@36degrees 36degrees merged commit 6938df7 into master Apr 12, 2018
@NickColley NickColley deleted the remove-font-family-from-button branch April 12, 2018 16:02
@kr8n3r kr8n3r mentioned this pull request May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants