On Mar 15, 2010, at 11:28 PM, Kevin LaCoste wrote: > I'm my local fork I've modified the HTML of commit messages (in the History > view) to look like the attached screen shot. > > This involves two minor changes. The first is changing the <pre id="message"> > block to be a div. This allows the text to wrap so horizontal scrolling isn't > necessary when reading commit messages. The second is to make the font > inherit from the body and to set it's size to 24px. This makes things much > easier to read in my opinion. It would be nice if the font and font size > where user preferences but I'd like to see these defaults go in for now if > nobody objects.
The problem is that some people put code in the message so it needs to keep it's formatting. This commit uses the css pre-wrap to keep the formatting and also sets the font to Menlo and the size to 12 (the default for the page): http://github.com/brotherbard/gitx/commit/9a536fc92a83c2fba408ad6d98b281f449882bad And a screenshot at: http://wiki.github.com/brotherbard/gitx/ --Nathan http://brotherbard.com/
