git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitweb: blame: Minimize vertical table row padding

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Oct 5, 2006, 20:30 UTC
Message-ID
<20061005203031.33938.qmail@web31814.mail.mud.yahoo.com>

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>
---
 gitweb/gitweb.css |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index eb9fc38..668e69a 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;
-- 
1.4.2.3.gc45c-dirty
Next: Jakub Narebski
Message 1 of 2 in “gitweb: blame: Minimize vertical table row padding”
  1. gitweb: blame: Minimize vertical table row paddingLuben Tuikov, Oct 5, 2006
  2. Jakub NarebskiOct 6, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.