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

Text in code block unreadable when printed #1068

Closed
Rijswijker opened this issue Sep 27, 2019 · 1 comment
Closed

Text in code block unreadable when printed #1068

Rijswijker opened this issue Sep 27, 2019 · 1 comment
Assignees

Comments

@Rijswijker
Copy link

Describe the bug
When a page is printed the text in the code block section is almost unreadable due shadow.

To Reproduce
Put a text in a code block and click on the printer icon and print to paper or pdf

Expected behavior
Black or color coded text without shadow

Screenshots
2019-09-27_14-19-30

CSS override does not help, the override is ignored

code[class*=language-],
pre[class*=language-] {
	color: #fff;
	background: 0 0;
	font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
	font-size: 1em;
	text-align: left;
	text-shadow: none;     <-------- CHANGED VALUE
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none
}
@NGPixel
Copy link
Member

NGPixel commented Sep 27, 2019

Fixed by ccc6a77

@NGPixel NGPixel closed this as completed Sep 27, 2019
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

2 participants