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

Make dark tables readable for print #25557

Closed
wants to merge 2 commits into from

Conversation

MartijnCuppens
Copy link
Member

@MartijnCuppens MartijnCuppens commented Feb 5, 2018

Fixes #25453.

The text of dark tables/theads is white and invisible if the page is printed (some browsers don't print backgrounds). Wrapping the theming for dark tables in a @media not print media query will disable theming for dark tables for print.

Also I removed the lines which forced the tds and ths to have a white background. If a table/row/cell has an accented background, you would probably also want this when you print the page (if the browser supports coloured backgrounds).

@mdo
Copy link
Member

mdo commented Feb 20, 2018

I think I'd rather see us override these styles in our _print.scss file. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants