Merge lp:~wgrant/loggerhead/pretty-view into lp:loggerhead
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | 472 |
Merged at revision: | 470 |
Proposed branch: | lp:~wgrant/loggerhead/pretty-view |
Merge into: | lp:loggerhead |
Diff against target: |
163 lines (+36/-35) 5 files modified
NEWS (+3/-0) loggerhead/static/css/diff.css (+1/-7) loggerhead/static/css/view.css (+16/-23) loggerhead/static/javascript/diff.js (+2/-2) loggerhead/templates/view.pt (+14/-3) |
To merge this branch: | bzr merge lp:~wgrant/loggerhead/pretty-view |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Loggerhead Reviewers | Pending | ||
Review via email: mp+94103@code.launchpad.net |
Commit message
Fix diff and view page styling to be more compact and more easily copyable.
Description of the change
- Fix diff and view page styling to be more compact and more easily
copyable. (William Grant, #743295)
diffs are just a size change, but I had to add the 'code' class to blank cells to shrink the text size to avoid gaps.
view gets a pretty major rework -- it's now a table with just two cells, to align two big pre columns for the lines and content. This makes the content copyable and makes the spacing more sensible. Some CSS changes were needed here, and those styles are shared with annotate, so annotate also became a bit more compact.
Tested all three views in Firefox, Chromium and IE9. Screenshots of the new and old view views at <http://
+1