gitweb: blame: Minimize vertical table row padding
authorLuben Tuikov <ltuikov@yahoo.com>
Thu, 5 Oct 2006 20:30:31 +0000 (13:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 5 Oct 2006 21:21:12 +0000 (14:21 -0700)
Minimize vertical table row padding for blame only.  I
discovered this while having the browser's blame output
right next to my editor's window, only to notice how much
vertically stretched the blame output was.

Blame most likely shows source code and is in this way
more "spartan" than the rest of the tables gitweb shows.

This patch makes the blame table more vertically compact,
thus being closer to what you'd see in your editor's window,
as well as reusing more window estate to show more
information (which in turn minimizes scrolling).

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.css

index eb9fc3804b1445207a9afff688d9c8ba954255df..668e69af1eeaa978a541e0883ae8e9796b83f72e 100644 (file)
@@ -173,6 +173,12 @@ table.blame {
        border-collapse: collapse;
 }
 
+table.blame td {
+       padding: 0px 5px;
+       font-size: 12px;
+       vertical-align: top;
+}
+
 th {
        padding: 2px 5px;
        font-size: 12px;