Merge lp://staging/~mbp/launchpad/bug-width into lp://staging/launchpad
Status: | Rejected |
---|---|
Rejected by: | Martin Pool |
Proposed branch: | lp://staging/~mbp/launchpad/bug-width |
Merge into: | lp://staging/launchpad |
Diff against target: |
35 lines (+8/-4) 1 file modified
lib/canonical/launchpad/icing/style-3-0.css (+8/-4) |
To merge this branch: | bzr merge lp://staging/~mbp/launchpad/bug-width |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Huw Wilkins (community) | ui | Disapprove | |
Launchpad code reviewers | Pending | ||
Review via email: mp+80161@code.staging.launchpad.net |
Commit message
Allow bug descriptions and other text to be up to 80em wide.
Description of the change
This changes the max-width for typical text in Launchpad so it is allowed to be up to 80em rather than just 45em. Much Launchpad bug text originates in terminals that assume about that width, and with this changed Python tracebacks for example look much more readable. If the window/font are not such as to allow 80em of text, it wraps properly at a narrower width (tested on oneiric ff and chrome.)
I think this gives a better tradeoff between on the one hand not wrapping too early and leaving white space while mangling the text (bug 435905) and also not having over-long lines on large windows.
Obviously we could do a lot more (actual markup, preserving whitespace, making the editor consistent with the displayed form, etc) but this is a step forward.
Before: https:/
After: https:/
I thought about doing this through a feature flag; it seems like the kind of change that would be nice to be able to try gradually to see if anyone objects or if it breaks some browsers. It seems like it would be pretty easy to allow them to show up in CSS, but for this change, being so small and already tested through user style-sheets, it didn't quite seem worth while.