# Long Words not Wrapping in User Activity Page

**URL:** <https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181>\
**Category:** Bug\
**Created:** [2017 年8 月 16 日 20:12 UTC](https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181 "2017-08-16T20:12:51Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

作者： ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)\
发布日期： [2017 年8 月 18 日 19:54 UTC](https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181/16 "2017-08-18T19:54:42Z")

</div>

That’s the correct element; it has `word-wrap: break_word` set but not `break-word: break-word`.

`word-wrap` on its own _should_ work, but it failed to do the job because:

> This page is styled using a table layout. … By default, The widths of the table and its cells are adjusted to fit the content, and thus the right side is wider than expected.

* * *

> [@codinghorror](#):
>
> I strongly urge you to reconsider word-break: break-word

I know I am guilty of breaking it twice ☹:

- It shouldn’t need to have `word-break: break-word`.
- Some inconsistencies in the existing CSS bit us. i.e. setting two different widths for the same element at two different places. This could potentially cause more problems but “luckily” everything just works right now.
- Although going through `user.scss` may take some time and some serious testing / review, _maybe_ it will help in the long run?

But again: I agree with you, that `word-break: break-word` **can** make it work, and I agree making it work is a priority.

What do you think?

---

_[View the full topic](https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181)._
