mirror of
https://gitee.com/Charles7c/github-contributor-svg-generator.git
synced 2025-09-07 18:57:11 +08:00
调整SVG顶部标题间距
This commit is contained in:
@@ -86,7 +86,8 @@ export async function generateContributorsSVGFile(
|
|||||||
const generatingSvgSpin = ora('Generating SVG file...').start()
|
const generatingSvgSpin = ora('Generating SVG file...').start()
|
||||||
|
|
||||||
// Hint: These constants may be able to be customized by config params
|
// 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 TITLE_FONT_SIZE = 20
|
||||||
const TEXT_FONT_SIZE = 14
|
const TEXT_FONT_SIZE = 14
|
||||||
const Y_CONTENT_START = Y_START + TITLE_FONT_SIZE
|
const Y_CONTENT_START = Y_START + TITLE_FONT_SIZE
|
||||||
|
Reference in New Issue
Block a user