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

Change to print styling #2907

Closed
saracope opened this issue Feb 12, 2019 · 3 comments
Closed

Change to print styling #2907

saracope opened this issue Feb 12, 2019 · 3 comments

Comments

@saracope
Copy link
Contributor

Description

Issue: It is not clear to users that the USWDS does not "handle" print styling.
Result: Users do not add a print stylesheet. Consequently, when the print version of their site looks wonky they equate this to a bug in the design system.
Consider:
1.) Omitting the media type for the condensed style sheet or setting it to 'all'.
2.) Documenting the descision here and a (possible) recommendation for users to create their own print stylesheets as needed.
Reasoning: This would at least allow the site to use any already defined styles it has for a better experience.

TODO
Investigate: Any side effects to making this change in the design system, especially with accessibility.

@thisisdano
Copy link
Member

Fixed in #2910

@mgifford
Copy link
Contributor

mgifford commented Dec 7, 2020

So is print styling no longer recommended as a best practice by the USWDS? I looked at all the A-F websites that are using it and surprisingly few had print CSS definitions. Some of the best are:

Some are doing it inline like:

There really aren't many USWDS sites that are using print CSS. I don't think a change in documentation is going to do much.

@arkjoseph
Copy link

@mgifford @saracope - flex box/uswds is not printer friendly and really is not up to par with what most clients expect in regards to printer output.
Ive resolved this on gsa.gov by forcing columns to render using specific widths in % values, in addition ive also replicated what bootstrap does and change the display of grid-row to display:table. ive also created classes to address 'printer-only' out put or screen only output within markup, not css.

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

No branches or pull requests

4 participants