mirror of https://gitlab.com/curben/blog
fix(heading-link): adjust the svg height to be similar to font's
This commit is contained in:
parent
b573092e2f
commit
c7c89099fb
|
@ -10,7 +10,7 @@ const cheerio = require('cheerio')
|
|||
|
||||
hexo.extend.filter.register('after_render:html', (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"/>
|
||||
</svg>`
|
||||
|
||||
|
|
Loading…
Reference in New Issue