no text-shadow
This commit is contained in:
parent
688901ae07
commit
61a910f3bf
3
index.js
3
index.js
@ -48,6 +48,9 @@ try{
|
|||||||
// deactivate @print css and add custom css (for pretty code)
|
// deactivate @print css and add custom css (for pretty code)
|
||||||
await page.emulateMediaType('screen');
|
await page.emulateMediaType('screen');
|
||||||
await page.addStyleTag({content: `
|
await page.addStyleTag({content: `
|
||||||
|
body{
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
.hidden-print {
|
.hidden-print {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user