-
-
Notifications
You must be signed in to change notification settings - Fork 78.7k
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
Drop .text-justify
class
#29793
Drop .text-justify
class
#29793
Conversation
Co-authored-by: XhmikosR <[email protected]>
Very disappointed |
why |
I agree, why is this class being dropped? Seems useful to me |
WHY??? can u please explain .. How this can be helpful |
ok then is there any substitute class for this.? |
Removing a class without a replacement, why? |
The text-justify is needed and widely used by many sites... What's the replacement or orientation for projects that need text-justify? |
It is useful, if you want to display text justified. |
Return this class back |
Why has this class been dropped? |
Well, if anybody else just like me just discovered that text-justify does not exists anymore the only explanation that i found was on the docs (https://getbootstrap.com/docs/5.3/utilities/text/#text-alignment), check the note! Opinion: It's really funny because they thought that justified text it's hard to read so removing the class was the best option (?). Maybe a striked out text is hard to read, but the class actually exists, so what's the point? You should provide the class, it's the decision from the people who is implementing it to determine if it results hard to read or don't, but you guys simply removed it, and at least, I don't understand why. Lol |
I find this a bit odd too. Thankfully, it is very easy to fix - solved by adding this to my SASS file (scss /.css): CSS:
HTML:
|
…reated a custom version based on comment twbs/bootstrap#29793 (comment)
Justified text often creates unsightly typographic rivers that make text very hard to read, specially if the reader is dyslexic. It also has no semantic purpose, unlike strikethrough text. |
Closes #29679.
Please check if the copy is ok or tweak where needed.
https://deploy-preview-29793--twbs-bootstrap.netlify.com/docs/4.3/utilities/text/#text-alignment