I have label, and spanin a div, where the content spanis dynamic. The label should always be right-aligned, and if there is not enough space in the line for its contents, it should automatically break into the next line and keep its alignment on the right side.
Initial situation:

After changing the contents span:

What it should look like:

Playground: https://jsfiddle.net/hj9zstjc/1/
Is there a solution for this?
flexbox, span , , , .