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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles are not printed #604

Closed
andrewhick opened this issue Oct 2, 2018 · 0 comments
Closed

Styles are not printed #604

andrewhick opened this issue Oct 2, 2018 · 0 comments
Labels
🐛 Bug Something isn't working the way it should (including incorrect wording in documentation)

Comments

@andrewhick
Copy link

Upon downloading a fresh prototype kit v8.1.0 and running it locally, if I try to print index.html , the preview appears in a serif font. This also happens on https://govuk-prototype-kit.herokuapp.com/docs .
image

I would expect this to preview in Transport, or at least a sans-serif fallback font.

On the other hand, our live service prints using the Transport font. Example URL: https://manage-water-abstraction-impoundment-licence.service.gov.uk/welcome

Tested in Chrome 69 and Internet Explorer 11.

Comments from Jani Kraner in GDS: i can confirm that media="screen" is the cause. components in the new GOV.UK Frontend has any print styles contained within their stylesheet and not separately as it was before.

@NickColley NickColley added the 🐛 Bug Something isn't working the way it should (including incorrect wording in documentation) label Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working the way it should (including incorrect wording in documentation)
Projects
None yet
Development

No branches or pull requests

2 participants