diff --git a/book/src/toolbox/progress.typ b/book/src/toolbox/progress.typ index 4b9ed38..74bfc12 100644 --- a/book/src/toolbox/progress.typ +++ b/book/src/toolbox/progress.typ @@ -9,8 +9,8 @@ toolbox.progress-ratio(ratio => { stack( dir: ltr, - rect(stroke: blue, fill: blue, width: ratio * 8cm), - rect(stroke: blue, fill: none, width: (1 - ratio) * 8cm), + rect(stroke: blue, fill: blue, width: 8cm * ratio), + rect(stroke: blue, fill: none, width: 8cm * (1 - ratio)), ) }) }