We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot change dominant-baseline for text. I want to set it to center.
<CircularProgressbar text={`1/4`} styles={{ text: { fill: 'red', 'dominant-baseline': 'center' } }} />
fill works but dominant-baseline doesn't work. I also tried "dominantBaseline" instead of " 'dominant-baseline' "
Chrome v98
^2.0.4
The text was updated successfully, but these errors were encountered:
Try using middle instead center, these values are not based in align but in the baseline, that's why they are different.
middle
center
For more info, check this link
Sorry, something went wrong.
No branches or pull requests
🐛 Bug report
Summary of issue
Cannot change dominant-baseline for text. I want to set it to center.
Reproducible example
fill works but dominant-baseline doesn't work. I also tried "dominantBaseline" instead of " 'dominant-baseline' "
Your environment
Chrome v98
^2.0.4
The text was updated successfully, but these errors were encountered: