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 @@ -2635,6 +2635,18 @@ BIN_FILENODE = 6 height: 1.1em; } +#graph_content_pr .compare_view_commits .message { + white-space: normal !important; + padding: 0 !important; + height: 1.1em; +} + +#graph_content .container .mid .message.expanded, +#graph_content_pr .compare_view_commits .message.expanded { + height: auto; + margin: 4px 0px 4px 0px; +} + #graph_content .container .extra-container { display: block; position: absolute; 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 @@ -259,9 +259,8 @@ ${self.repo_context_bar('changelog', c.f } $('.expand_commit').on('click',function(e){ - $(this).children('i').hide(); var cid = $(this).attr('commit_id'); - $('#C-'+cid).css({'height': 'auto', 'margin': '4px 0px 4px 0px'}) + $('#C-'+cid).toggleClass('expanded'); //redraw the graph, r and jsdata are bound outside function r.render(jsdata,100); diff --git a/kallithea/templates/compare/compare_cs.html b/kallithea/templates/compare/compare_cs.html --- a/kallithea/templates/compare/compare_cs.html +++ b/kallithea/templates/compare/compare_cs.html @@ -32,7 +32,7 @@ -
${h.urlify_commit(cs.message, c.repo_name)}
+
${h.urlify_commit(cs.message, c.repo_name)}
%endfor @@ -72,9 +72,8 @@