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

Control vertical alignment separately from horizontal alignment #27

Closed
8BitJonny opened this issue Apr 30, 2021 · 0 comments · Fixed by #28
Closed

Control vertical alignment separately from horizontal alignment #27

8BitJonny opened this issue Apr 30, 2021 · 0 comments · Fixed by #28
Labels
enhancement New feature or request

Comments

@8BitJonny
Copy link
Contributor

Is your feature request related to a problem? Please describe.

As already discussed in #24 I want to control vertical alignment of the generated text separately from the horizontal alignment.

Currently we have dominant-baseline="middle" when center is set to "true" and dominant-baseline="auto" when its not.
Meaning the text is vertically top aligned by default and when center=true the text is both vertically and horizontally centered

Describe the solution you'd like

Expose dominant-baseline as a query param and control it like valign=top or valign=center

Describe alternatives you've considered

Currently there are no alternatives to controlling the vertical alignment

@8BitJonny 8BitJonny added the enhancement New feature or request label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant