# HG changeset patch # User Mads Kiilerich # Date 2016-05-23 18:02:33 # Node ID ecc2a13a308d40329a36f9f587478cb2114cfaff # Parent 8049bb8502bd1a5c59243324e1dc328d5c1c02fd pullrequests: use css for description instead of and explicit styling b60e58094fb7 introduced use of , but that is semantically incorrect. 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 @@ -160,11 +160,17 @@ code, .code pre, div.readme .readme_box pre, div.rst-block pre, +div.formatted-fixed, .CodeMirror .CodeMirror-code pre { font-size: 12px; font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace; } +div.formatted-fixed { + white-space: pre-wrap; + line-height: 14px; +} + .top-left-rounded-corner { border-top-left-radius: 8px; } diff --git a/kallithea/templates/pullrequests/pullrequest_show.html b/kallithea/templates/pullrequests/pullrequest_show.html --- a/kallithea/templates/pullrequests/pullrequest_show.html +++ b/kallithea/templates/pullrequests/pullrequest_show.html @@ -43,7 +43,7 @@ ${self.repo_context_bar('showpullrequest %endif
- ${h.urlify_commit(c.pull_request.description, c.pull_request.org_repo.repo_name)} +
${h.urlify_commit(c.pull_request.description, c.pull_request.org_repo.repo_name)}