feat(guide): add outline for pages (#8722)

Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
Suneet Tipirneni
2022-10-07 23:15:02 -04:00
committed by GitHub
parent d923d0ab96
commit 33ec49d5bf
5 changed files with 124 additions and 15 deletions

View File

@@ -49,11 +49,16 @@ export default defineConfig({
'a > img': {
display: 'inline-block',
},
h1: {
'scroll-margin-top': '6.5rem',
},
h2: {
'margin-top': '1.25em',
'scroll-margin-top': '6.5rem',
},
h3: {
'margin-top': '0.75em',
'margin-top': '1.25em',
'scroll-margin-top': '6.5rem',
},
// eslint-disable-next-line id-length
p: {