We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Originally posted by abielmagudev April 12, 2025 Hi friends, can you add a class for balanced text?
.text-balanced { text-wrap: balance; }
<p class="text-balanced">This is a text balanced by a class of CSS.</p>
The text was updated successfully, but these errors were encountered:
feat: add class text-balanced
text-balanced
75b452d
Refs: twbs#41389
text-balance
I think the class name should be text-balance rather than text-balanced
Then it exactly matches the text-wrap property value.
FWIW; Tailwind use text-balance too: https://tailwindcss.com/docs/text-wrap#quick-reference
(I was considering suggesting text-wrap-balance, but it's a bit long and unnecessarily verbose probably)
text-wrap-balance
cc @viniciusvts
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Discussed in https://github.com/orgs/twbs/discussions/41368
Originally posted by abielmagudev April 12, 2025
Hi friends, can you add a class for balanced text?
The text was updated successfully, but these errors were encountered: