# 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:** 1

<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 月 16 日 20:12 UTC](https://meta.discourse.org/t/long-words-not-wrapping-in-user-activity-page/68181/1 "2017-08-16T20:12:52Z")

</div>

**Reproduction Steps:**

1. Bookmark this topic: [Allow for pre-registration of fully activated accounts via API without user interaction](https://meta.discourse.org/t/allow-for-pre-registration-of-fully-activated-accounts-via-api-without-user-interaction/60339)

2. Check your bookmarks page, and you will see something similar to: 

**Possible Root Cause**

This page is styled using a table layout. I found [this commit](https://github.com/discourse/discourse/commit/1444025e9ca7c71c26706c8c99ace94878071ca4) that removes `display: table` on the parent container but `display: table-row / table-cell` are still applied to the children. 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.

**Possible Solutions**

1. Revert [this commit](https://github.com/discourse/discourse/commit/1444025e9ca7c71c26706c8c99ace94878071ca4) and add `table-layout: fixed`, so that the content of the table cells will not affect the width of the table.

2. Drop the table layout completely, and restyle this page with other CSS techniques. (maybe `float`? I confess I am no expert in CSS)

I’d be happy to PR this fix once we have decided a general direction.

---

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