aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2006-10-05 13:30:31 -0700
committerJunio C Hamano <junkio@cox.net>2006-10-05 14:21:12 -0700
commitdb94b41aee0dfeae06e9c6f03d38a2aa30f8fd10 (patch)
treee5cfca34172e8ae4bb78a71f50337cd3a842c6d3 /gitweb
parent6e0e92fda893311ff5af91836e5007bf6bbd4a21 (diff)
downloadgit-db94b41aee0dfeae06e9c6f03d38a2aa30f8fd10.tar.gz
git-db94b41aee0dfeae06e9c6f03d38a2aa30f8fd10.tar.xz
gitweb: blame: Minimize vertical table row padding
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>
Diffstat (limited to 'gitweb')
-rw-r--r--gitweb/gitweb.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index eb9fc3804..668e69af1 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -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;