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.
///
/// Written as a number, followed by a percent sign. A common use case is
/// 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 certain percentage of the size of the surrounding container or of the
/// current page. For example:
/// Written as a number, followed by a percent sign.
///
/// A common use case is 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 certain percentage of the size of the
/// surrounding container or of the current page. For example:
///
/// ```example
/// #block(width: 240pt, {