diff options
| author | Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> | 2025-06-02 16:12:42 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 13:12:42 +0000 |
| commit | fd08c4bb3f55400e0fb9f461f463da19169a04a0 (patch) | |
| tree | f53f2cfb1bbb618bb99020a3646b0982c09a5820 /crates/typst-library/src/layout/layout.rs | |
| parent | 4329a15a1cb44a849c9b6a8cd932867b4aa53ed0 (diff) | |
Fix typo in layout docs, change "size" to "height" (#6344)
Diffstat (limited to 'crates/typst-library/src/layout/layout.rs')
| -rw-r--r-- | crates/typst-library/src/layout/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/layout/layout.rs b/crates/typst-library/src/layout/layout.rs index 04aaee94..46271ff2 100644 --- a/crates/typst-library/src/layout/layout.rs +++ b/crates/typst-library/src/layout/layout.rs @@ -41,7 +41,7 @@ use crate::layout::{BlockElem, Size}; /// receives the page's dimensions minus its margins. This is mostly useful in /// combination with [measurement]($measure). /// -/// To retrieve the _remaining_ size of the page rather than its full size, you +/// To retrieve the _remaining_ height of the page rather than its full size, /// you can wrap your `layout` call in a `{block(height: 1fr)}`. This works /// because the block automatically grows to fill the remaining space (see the /// [fraction] documentation for more details). |
