Skip to main content

change_row

Function change_row 

Source
pub fn change_row<'a, Message: 'a>(
    before: impl IntoFragment<'a>,
    after: impl IntoFragment<'a>,
    change: Change,
    reason: Option<&'a str>,
    scale: FontScale,
) -> Element<'a, Message>
Expand description

One thing in a preview: what it is now on the left, what it would be on the right, and — when it cannot — the reason under the right-hand side in the error colour.

Two equal columns rather than “old → new” run together, so a list of them reads down each side; a long value wraps within its own column, never under the other one. The arrow is text, in the dim colour, at the metadata size: it separates, it does not say anything.