Thread (29 messages) flat view 29 messages, 2 authors, 2016-06-15

Re: [PATCHv7 4/9] gitweb: right-align date cell in shortlog

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:46:59

On Sat, 27 June 2009, Giuseppe Bilotta wrote:
Signed-off-by: Giuseppe Bilotta <redacted>
I don't like it.  In my opinion it is less readable that way, especially
if word wrapping gets involved:

  5 hours |
      ago |

  5 hours |
      ago |

   5 days |
      ago |

It is IMVHO a bit ugly.


That aside this is *not complete*.  Take a look at 'summary' view.  
You have there 'date' column in 'shortlog' section aligned to the right,
while in 'heads' and 'tags' section it is aligned to the left.  Add to
that "Last Change" column in projects list view (which should probably
be aligned to the left, even with this patch completed).

NAK from me.  (Alternate stylesheet?  Just kidding...)
quoted hunk ↗ jump to hunk
---
 gitweb/gitweb.css |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 68b22ff..ef24a1b 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -180,6 +180,10 @@ table {
 	border-spacing: 0;
 }
 
+table.shortlog td:first-child {
+	text-align: right;
+}
+
 table.diff_tree {
 	font-family: monospace;
 }
On the other hand: it is short and simple.

-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help