From 307c3aae5ef27f62fae3472b06a3e246e6f0ace5 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sat, 13 Jun 2015 19:51:21 -0700 Subject: [PATCH] gitweb.css: fix shortlog wrapping problems with many refs Signed-off-by: Kyle J. McKay --- .topmsg | 3 +++ gitweb/static/gitweb.css | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/.topmsg b/.topmsg index 6c2fdc2239..0ef8fd0cd7 100644 --- a/.topmsg +++ b/.topmsg @@ -17,4 +17,7 @@ to wrap with line continuation characters. In order for all of this wrapping to work properly, the browser needs to support the word-wrap:break-word CSS property. +Also, while we're fixing wrapping problems, make the shortlog display +wrap in a sane fashion when there are many refs to show for a commit. + Signed-off-by: Kyle J. McKay diff --git a/gitweb/static/gitweb.css b/gitweb/static/gitweb.css index 018f1f7b7c..e1856be126 100644 --- a/gitweb/static/gitweb.css +++ b/gitweb/static/gitweb.css @@ -584,6 +584,14 @@ a.linenr { text-decoration: none } +table.shortlog { + white-space: nowrap; +} + +table.shortlog span.refs { + white-space: normal; +} + a.rss_logo { float: right; padding: 3px 5px; -- 2.11.4.GIT