Skip to content

Commit 17e3d78

Browse files
committed
fix: typst format's callouts show different text alignment with Prefix
Fixes #12803
1 parent d9f8045 commit 17e3d78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/resources/formats/typst/pandoc/quarto/definitions.typ

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@
163163
children.at(0) + new_title // with icon: preserve icon block + new title
164164
}))
165165

166-
block_with_new_content(old_callout,
166+
align(left, block_with_new_content(old_callout,
167167
block(below: 0pt, new_title_block) +
168-
old_callout.body.children.at(1))
168+
old_callout.body.children.at(1)))
169169
}
170170

171171
// 2023-10-09: #fa-icon("fa-info") is not working, so we'll eval "#fa-info()" instead

0 commit comments

Comments
 (0)