docs(ratio): separated 2 paragraphs

This commit is contained in:
Andrew Voynov 2025-01-28 04:01:46 +03:00
parent 011e9af3a6
commit 5b0b866099
No known key found for this signature in database
GPG Key ID: 1BE92DD685700329

View File

@ -8,11 +8,12 @@ use crate::foundations::{repr, ty, Repr};
/// A ratio of a whole. /// A ratio of a whole.
/// ///
/// Written as a number, followed by a percent sign. A common use case is /// Written as a number, followed by a percent sign.
/// setting the width or height of a container (e.g., [block], [rect], etc.), ///
/// as it can be used as part of a [relative length]($relative) to represent /// A common use case is setting the width or height of a container (e.g.,
/// a certain percentage of the size of the surrounding container or of the /// [block], [rect], etc.), as it can be used as part of a [relative
/// current page. For example: /// length]($relative) to represent a certain percentage of the size of the
/// surrounding container or of the current page. For example:
/// ///
/// ```example /// ```example
/// #block(width: 240pt, { /// #block(width: 240pt, {