Skip to content

Commit

Permalink
gitweb: blame: Minimize vertical table row padding
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luben Tuikov authored and Junio C Hamano committed Oct 5, 2006
1 parent 6e0e92f commit db94b41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gitweb/gitweb.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db94b41

Please sign in to comment.