suite
This commit is contained in:
parent
a915a1fbe9
commit
5dccf37588
@ -1,14 +1,14 @@
|
||||
%head
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
|
||||
<script src="/jquery-3.4.1.min.js"></script>
|
||||
:scss
|
||||
body{
|
||||
font-size:12px;
|
||||
font-family:arial, sans-serif;
|
||||
font-family:'Lato', sans-serif;
|
||||
-webkit-font-smoothin:antialiased;
|
||||
.table{
|
||||
border-collapse:collapse;
|
||||
font-family:arial, sans-serif;
|
||||
font-family:'Lato', sans-serif;
|
||||
|
||||
td,th{
|
||||
border:1px solid gray;
|
||||
|
2
pdf.js
2
pdf.js
@ -5,7 +5,7 @@ const puppeteer = require('puppeteer');
|
||||
const createPdf = async() => {
|
||||
let browser;
|
||||
try {
|
||||
browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox', '--font-render-hinting=none', '--disable-gpu']});
|
||||
browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox', '--font-render-hinting=light', '--disable-gpu']});
|
||||
const page = await browser.newPage();
|
||||
//await page.setViewport({width: 794, height: 1122, deviceScaleFactor: 1});
|
||||
await page.goto(process.argv[2], {timeout: 3000, waitUntil: 'networkidle2'});
|
||||
|
Loading…
x
Reference in New Issue
Block a user