fix: adjust outline spacing
Build'n check / run-ci-linux (push) Has been skipped Details
Build'n check / run-ci-linux (pull_request) Successful in 5m8s Details

This commit is contained in:
Sven Vogel 2025-03-18 08:26:41 +01:00
parent 99750af99f
commit 9451ba4196
1 changed files with 8 additions and 3 deletions

View File

@ -125,9 +125,14 @@
#let new_outline() = {
pagebreak(weak: true)
show outline.entry.where(level: 1): it => {
v(1.5em, weak: true)
strong(it)
show outline.entry: it => {
if it.level == 1 {
v(1.5em, weak: true)
strong(it)
} else {
v(1.0em, weak: true)
it
}
}
render_heading_outline()