diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -1510,10 +1510,9 @@ tr.out-of-range { #graph_content tr td.mid .message, #graph_content_pr .compare_view_commits .message { - white-space: pre-wrap; + white-space: nowrap; padding: 0; overflow: hidden; - height: 1.2em; } #graph_content_pr .compare_view_commits .message { diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html +++ b/kallithea/templates/changelog/changelog.html @@ -104,12 +104,16 @@ ${self.repo_context_bar('changelog', c.f
${h.age(cs.date,True)}
+ <% message_lines = cs.message.splitlines() %>
-
${h.urlify_text(cs.message, c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+
+
${h.urlify_text(message_lines[0], c.repo_name,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+ +
%if c.comments.get(cs.raw_id): @@ -286,7 +290,7 @@ ${self.repo_context_bar('changelog', c.f }); $('.expand_commit').on('click',function(e){ - $(this).next('.mid').find('.message').toggleClass('expanded'); + $(this).next('.mid').find('.message > div').toggleClass('hidden'); //redraw the graph, r and jsdata are bound outside function graph.render(jsdata);