# HG changeset patch # User Mads Kiilerich # Date 2015-08-11 12:39:07 # Node ID 982deaaef275c31ca95f3c1c10f787a3e629b80a # Parent b8734b4287865ac361cd71d8b670e7fec006aca0 pullrequests: avoid unnecessary scroll-bar on short lists of available updates with Chrome The surrounding div will apparently take size after the content but miss that there also is 1 pixel border ... and when drawing it realizes that there isn't enough space and it adds scroll bars anyway. Work around that by giving the surrounding box 1 pixel padding. 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 @@ -171,7 +171,7 @@ ${self.repo_context_bar('showpullrequest
${c.update_msg}
%if c.avail_revs: -
+