{"thread":{"id":"5821","subject":"[PATCH] gitweb: blame: Minimize vertical table row padding","startedAt":"2006-10-05T20:30:31Z","lastAt":"2006-10-06T07:45:32Z","messageCount":2,"participants":["Luben Tuikov","Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"28245","messageId":"20061005203031.33938.qmail@web31814.mail.mud.yahoo.com","threadId":"5821","inReplyTo":null,"subject":"[PATCH] gitweb: blame: Minimize vertical table row padding","fromName":"Luben Tuikov","fromEmail":"ltuikov@yahoo.com","sentAt":"2006-10-05T20:30:31Z","receivedAt":"2006-10-05T20:30:31Z","isPatch":true,"sender":{"key":"ltuikov@yahoo.com","avatar":null},"body":"Minimize vertical table row padding for blame only.  I\ndiscovered this while having the browser's blame output\nright next to my editor's window, only to notice how much\nvertically stretched the blame output was.\n\nBlame most likely shows source code and is in this way\nmore \"spartan\" than the rest of the tables gitweb shows.\n\nThis patch makes the blame table more vertically compact,\nthus being closer to what you'd see in your editor's window,\nas well as reusing more window estate to show more\ninformation (which in turn minimizes scrolling).\n\nSigned-off-by: Luben Tuikov <ltuikov@yahoo.com>\n---\n gitweb/gitweb.css |    6 ++++++\n 1 files changed, 6 insertions(+), 0 deletions(-)\n\ndiff --git a/gitweb/gitweb.css b/gitweb/gitweb.css\nindex eb9fc38..668e69a 100644\n--- a/gitweb/gitweb.css\n+++ b/gitweb/gitweb.css\n@@ -173,6 +173,12 @@ table.blame {\n \tborder-collapse: collapse;\n }\n \n+table.blame td {\n+\tpadding: 0px 5px;\n+\tfont-size: 12px;\n+\tvertical-align: top;\n+}\n+\n th {\n \tpadding: 2px 5px;\n \tfont-size: 12px;\n-- \n1.4.2.3.gc45c-dirty\n\n"},{"id":"28275","messageId":"eg51hi$7rs$3@sea.gmane.org","threadId":"5821","inReplyTo":"20061005203031.33938.qmail@web31814.mail.mud.yahoo.com","subject":"Re: [PATCH] gitweb: blame: Minimize vertical table row padding","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-10-06T07:45:32Z","receivedAt":"2006-10-06T07:45:32Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Luben Tuikov wrote:\n\n> Minimize vertical table row padding for blame only.  I\n> discovered this while having the browser's blame output\n> right next to my editor's window, only to notice how much\n> vertically stretched the blame output was.\n> \n> Blame most likely shows source code and is in this way\n> more \"spartan\" than the rest of the tables gitweb shows.\n> \n> This patch makes the blame table more vertically compact,\n> thus being closer to what you'd see in your editor's window,\n> as well as reusing more window estate to show more\n> information (which in turn minimizes scrolling).\n\nPerhaps we should change blame output from table based to div\nblock based, like ordinary \"blob\" view, hmmm...?\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"}]}