Merge pull request 'fix: left align glossary entries' (#76) from fix/centered-glossary into main
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 2m52s Details
release / release (push) Failing after 2m38s Details

Reviewed-on: #76
This commit is contained in:
Sven Vogel 2024-11-20 09:36:12 +00:00
commit 9e3567a0df
1 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,8 @@ SOFTWARE.*/
#block( #block(
below: 1.5em, below: 1.5em,
par(hanging-indent: 1em)[ width: 100%,
par(hanging-indent: 1em, align(left)[
#text(weight: "bold", entry.short) #text(weight: "bold", entry.short)
#if hasLong and hasDesc [ #if hasLong and hasDesc [
(#text(entry.long)) (#text(entry.long))
@ -238,7 +239,7 @@ SOFTWARE.*/
) )
.join(", ") .join(", ")
} }
], ]),
) )
] ]
} }