# HG changeset patch # User Thomas De Schampheleire # Date 2015-02-09 22:20:28 # Node ID 9488ba27f754076d16c7c6cfb996ccac01a1b89c # Parent 319b165182274cbbfc7d65a2e6ffaa09eeddcbd5 pull requests commit overview: respect newlines and indentation (Issue #79) Before this commit, commit messages in the pull request commit overview would be handled like any other text in HTML, with newlines and multiple whitespace being irrelevant. Remove an overrule in the CSS so that the 'white-space' property remains at 'pre-wrap', causing newlines and indentation in commit messages are properly respected in this overview. As a positive effect, only the first line of the commit message is shown by default, just like in standard version control commands like 'hg log'. 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 @@ -2565,7 +2565,6 @@ BIN_FILENODE = 6 } #graph_content_pr .compare_view_commits .message { - white-space: normal !important; padding: 0 !important; height: 1.1em; }