set fix size for listing width

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-07-03 12:29:20 +02:00
parent db73589edd
commit 45934c5fd2
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -158,7 +158,12 @@
)
// ---------- LISTING ----------
show raw.where(block: true): block.with(radius: 1em, fill: luma(240), inset: 1em)
show raw.where(block: true): it => {
block(radius: 1em, fill: luma(240), inset: 1em, width: 80%, {
set align(left)
it
})
}
// ---------- OUTLINES ----------