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

Consider adding word-wrap:break-word to Reboot #20323

Closed
cvrebert opened this issue Jul 18, 2016 · 4 comments
Closed

Consider adding word-wrap:break-word to Reboot #20323

cvrebert opened this issue Jul 18, 2016 · 4 comments

Comments

@cvrebert
Copy link
Collaborator

Refs #18927 (comment)
Has anyone ever actually wanted the Web's default "text runs outside of the box and often creates a scrollbar" behavior?

@eddyerburgh
Copy link
Contributor

Agreed, should be default. I'll create a PR if others agree

@neatonk
Copy link

neatonk commented May 23, 2017

Just noting that if word-wrap: break-word is applied globally (e.g. to the body tag) then it needs to be overridden locally for something like overflow: hidden; text-overflow: ellipsis to work as expected.

@mdo mdo removed this from the v4.1 ideas milestone Mar 31, 2018
@mdo
Copy link
Member

mdo commented Mar 31, 2018

Closing as stale.

@mdo mdo closed this as completed Mar 31, 2018
leafac added a commit to leafac/bootstrap that referenced this issue May 12, 2021
Why would you want the default browser behavior of a long word overflowing the container?

What’s already done:

- Applied `.text-break` to `body` in Reboot (see https://getbootstrap.com/docs/5.0/utilities/text/#word-break)
- Removed instances of `word-wrap` from components, which now became redundant.

What’s left to do:

- Remove `.text-break`?
- Provide an utility with the converse, which sets `word-break` and `word-wrap` back to `normal`?

Follow up to: twbs#20323
@leafac
Copy link

leafac commented May 13, 2021

Hi all,

I started a pull request to bring new life into this issue: #33954

Please let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@neatonk @mdo @cvrebert @leafac @eddyerburgh and others