Merge lp://staging/~pr0gg3d/loggerhead/long_comments_wrap_276768 into lp://staging/loggerhead
Proposed by
Francesco Del Degan
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | j.c.sackett | ||||
Approved revision: | 463 | ||||
Merged at revision: | 474 | ||||
Proposed branch: | lp://staging/~pr0gg3d/loggerhead/long_comments_wrap_276768 | ||||
Merge into: | lp://staging/loggerhead | ||||
Diff against target: |
11 lines (+1/-0) 1 file modified
loggerhead/static/css/diff.css (+1/-0) |
||||
To merge this branch: | bzr merge lp://staging/~pr0gg3d/loggerhead/long_comments_wrap_276768 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Richard Harding (community) | code* | Approve | |
Review via email: mp+89521@code.staging.launchpad.net |
Description of the change
As referred to #276768:
That comment string is rendered using (revisioninfo.pt):
<div class="information" tal:content=
that explicitly "expand tabs and turn spaces into "non-breaking spaces", so browsers won't chop up the string.", so that "white-space" CSS controls won't work.
We could use CSS3 "word-wrap: break-word" (diff.css) or avoid the use of util.fixed_width().
This branch uses former solution.
To post a comment you must log in.
Thanks, Francesco.
If we're using the word-wrap css property, do we still need/want
escaping to nbsp? I would have thought not...
--
Martin