From 5843e6c5885403386a312a33959f2afa22a495b7 Mon Sep 17 00:00:00 2001 From: linguist <22963968+lowlighter@users.noreply.github.com> Date: Sat, 2 Jan 2021 12:38:07 +0100 Subject: [PATCH] Update metrics.mjs --- source/app/metrics.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/metrics.mjs b/source/app/metrics.mjs index 9ef205ad..b9d15c85 100644 --- a/source/app/metrics.mjs +++ b/source/app/metrics.mjs @@ -180,7 +180,7 @@ } /** Render svg */ - async function svgresize(svg, {padding = 10, convert} = {}) { + async function svgresize(svg, {padding = 20, convert} = {}) { //Instantiate browser if needed if (!svgresize.browser) { svgresize.browser = await puppeteer.launch({headless:true, executablePath:process.env.PUPPETEER_BROWSER_PATH, args:["--no-sandbox", "--disable-extensions", "--disable-setuid-sandbox", "--disable-dev-shm-usage"]})