# HG changeset patch # User domruf # Date 2018-03-11 12:20:29 # Node ID f460139aa6d6b74632163ce9d7a02f3c7f84e732 # Parent 8290f9652cb4a36371fe5a4d91181b1749a39053 pullrequests: fix position of edit button The edit button belongs to the label, so lets put it there. We then do't need the #pr-edit-btn style any more. diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -661,10 +661,6 @@ span.pr-closed-tag { #pr-summary > .pr-not-edit { min-height: 50px !important; } -#pr-edit-btn { - margin: 20px 0 0 !important; - position: absolute; -} /* make 'next iteration' changeset table smaller and scrollable */ #pr-summary #updaterevs { max-height: 200px; 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 @@ -35,12 +35,13 @@ ${self.repo_context_bar('showpullrequest
- +
${h.urlify_text(c.pull_request.description, c.pull_request.org_repo.repo_name)}