Permalink
Browse files

Set the white-space on the commit to pre-wrap so it wont look so ugly

  • Loading branch information...
1 parent 1f06d83 commit 99fb415470b5f01a7c26e55c9c01f1d439434500 @icefox committed Mar 30, 2010
Showing with 5 additions and 1 deletion.
  1. +1 −1 web/app/views/repositories/commit.html.erb
  2. +4 −0 web/public/stylesheets/repositories.css
@@ -5,7 +5,7 @@
<%= render(:partial => 'repositorytop.html.erb') %>
<div id="repopage">
<%= @singlecommit = true; render(:partial => 'commitlist.html.erb') %>
-<pre>
+<pre id="commit_contents">
<%=h @commits.first.to_patch %>
</pre>
</div>
@@ -23,3 +23,7 @@ img.repo_public_private {
div#repository_actions {
padding-bottom: 1.5em;
}
+
+#commit_contents {
+ white-space: pre-wrap;
+}

0 comments on commit 99fb415

Please sign in to comment.