| Summary: | query-cgi use monospace font | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | mwisnicki+freebsd |
| Component: | Books & Articles | Assignee: | Bugmeister <bugmeister> |
| Status: | Closed Overcome By Events | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-www->bugmeister query-pr is bugmeister territory. This is probably a good idea, but I think it's probably only good to do for the multiline sections. Additionally it would be nice if whitespace was preserved.
One way to do that is by modifying cgi to wrap content in <pre> and
stop adding <br>.
Alternatively this could be achieved by following CSS:
.replyblock, .patchblock, .auditblock {
white-space: normal;
}
.mfield, .replyblock tr:last-child {
white-space: pre;
}
.mfield br, .replyblock tr:last-child br {
display: none;
}
Closing this, since GNATS has been replaced by Bugzilla. |
Given technical nature of most problem reports, using proportional font is a really bad choice. It makes most messages hard to read and some of them (logs, code snippets) a complete mess. Fix: Add to www/en/layout/css/query-pr.css: .mfield { font-family: Consolas,"Courier New",Courier,monospace; } Or to keep headers in proportional: .replyblock, .patchblock, .auditblock { font-family: verdana, sans-serif; } .mfield, .replyblock tr:last-child { font-family: Consolas,"Courier New",Courier,monospace; } Also, preppend Consolas before 'Courier New' because it's so much nicer (on Win7): pre, .patchblock .content { font-family: Consolas,"Courier New",Courier,monospace; }