Open ndreynolds opened 5 years ago
Similar to the CSS text-align property, it should be possible to specify the alignment of text content inside of block-level elements in Ratatouille.
text-align
For example:
label(text_align: :center, content: "Centered content")
In the above example, the renderer should try to create even margins to the left and right of the content within the current render box.
Similar to the CSS
text-align
property, it should be possible to specify the alignment of text content inside of block-level elements in Ratatouille.For example:
In the above example, the renderer should try to create even margins to the left and right of the content within the current render box.