Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aligning text content within block-level elements #1

Open
ndreynolds opened this issue Jan 26, 2019 · 0 comments
Open

Support aligning text content within block-level elements #1

ndreynolds opened this issue Jan 26, 2019 · 0 comments

Comments

@ndreynolds
Copy link
Owner

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant