From 017bc570a730356d6e910bb233d6173cb8ed157c Mon Sep 17 00:00:00 2001 From: Charles7c Date: Mon, 14 Apr 2025 20:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4SVG=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/svg-codegen.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/svg-codegen.ts b/src/svg-codegen.ts index 2a64a5c..e2e5768 100644 --- a/src/svg-codegen.ts +++ b/src/svg-codegen.ts @@ -86,7 +86,8 @@ export async function generateContributorsSVGFile( const generatingSvgSpin = ora('Generating SVG file...').start() // Hint: These constants may be able to be customized by config params - const Y_START = 40 + // const Y_START = 40 + const Y_START = 0 const TITLE_FONT_SIZE = 20 const TEXT_FONT_SIZE = 14 const Y_CONTENT_START = Y_START + TITLE_FONT_SIZE