fix(heading-link): adjust the svg height to be similar to font's

This commit is contained in:
curben 2019-08-12 13:16:35 +09:30
parent b573092e2f
commit c7c89099fb
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const cheerio = require('cheerio')
hexo.extend.filter.register('after_render:html', (str) => { hexo.extend.filter.register('after_render:html', (str) => {
const $ = cheerio.load(str) const $ = cheerio.load(str)
const svg = `<svg height="0.8em" viewBox="15 15 1635 1635"> const svg = `<svg height="0.75em" viewBox="15 15 1635 1635">
<use href="/svg/link.svg#link"/> <use href="/svg/link.svg#link"/>
</svg>` </svg>`