-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Feature Proposal] rename .whitespace-no-wrap to .whitespace-nowrap #776
Comments
I would keep the hyphenated version. See this: https://wiki.csswg.org/ideas/mistakes Even the CSS WG would prefer the use of no-wrap (but alas we don't have a time machine) |
Hesitant to change this and introduce a BC break for no real great reason, but I do agree in hindsight I think I would have preferred For anyone curious, it's because "whitespace" (no hyphen) is the proper term, according to Wikipedia at least: https://en.wikipedia.org/wiki/Whitespace_character Still unsure what to do here. |
Just in case this makes it harder to decide, CSS Text Module Level 3 introduces yet another hyphenated value: |
Going to keep this as-is because it's a BC break and we'd probably want to change |
ok, fair enough (I had no strong opinion about this issue and I'm glad that this has been considered and decided regarding the pros and contras) |
was gonna suggest this as well by creating a new issue but found this one. @adamwathan change of mind by now if anything’s changed? |
@deadcoder0904 it would now be a breaking change of the 1.X version (my issue was before the release of 1.0) and it is probably not worth it... |
thanks. solved my problem |
This has been changed in v2 (see #2664) |
To be consistent with the CSS
white-space: nowrap;
property :-)https://tailwindcss.com/docs/whitespace-and-wrapping/#app
Probably is CSS a bit inconsistent here (with
pre-line
for instance), but since I'm used to CSS, I find it much more natural to typewhitespace-nowrap
thanwhitespace-no-wrap
.The text was updated successfully, but these errors were encountered: