my eye

Tighten up project commit page

Committed e72179

--- a/webint_code/templates/project/commit.html
+++ b/webint_code/templates/project/commit.html

   font-size: .75em; }
 .linenodiv .normal {
   display: none; }
+ul li p {
+  margin: .25em 0; }
 </style>
 
-<p style=font-size:.75em>Committed <time class=dt-published datetime=$ts.isoformat()>$ts.diff_for_humans()</time>
-<a class=p-ragt.ag-change-id href=/projects/$project/commits/$short_hash>$short_hash</a></p>
+<p style=font-size:.75em>Committed <time class=dt-published
+datetime=$ts.isoformat()>$ts.diff_for_humans()</time> <a class=p-ragt.ag-change-id
+href=/projects/$project/commits/$short_hash>$short_hash</a></p>
 $if description:
-    <p class=p-content>$:mkdn(description)</p>
+    <div class=p-content>$:mkdn(description)</div>
 $for file in colorize_diff("\n".join(repo.show(commit_id))):
-    <h3><span style=color:#dc322f>$file["from"]</span><br>
-    <span style=color:#859900>$file["to"]</span></h3>
+    <h4><span style=color:#dc322f>$file["from"]</span><br>
+    <span style=color:#859900>$file["to"]</span></h4>
     $for changed_linenos, changed_lines in file["changes"]:
-        $changed_linenos<br>
         $:highlight(changed_lines, "a.py", diff=changed_linenos)