changeset 6503:f939793f3ceb

style: fix floating of PR reviewer box
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 27 Feb 2017 00:27:31 +0100
parents 03746b8cd5c9
children a90acf3a1422
files kallithea/public/css/style.css kallithea/templates/pullrequests/pullrequest_show.html
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Thu Feb 16 02:43:11 2017 +0100
+++ b/kallithea/public/css/style.css	Mon Feb 27 00:27:31 2017 +0100
@@ -2126,7 +2126,6 @@
 .changeset-status-container {
     padding-right: 5px;
     margin-top: 1px;
-    float: right;
     height: 14px;
 }
 .code-header .changeset-status-container {
@@ -3909,8 +3908,9 @@
     line-height: 1.5em;
 }
 
-.pr-box {
+.panel-body .pr-box {
     max-width: 978px;
+    margin-right: 20px;
 }
 
 #s2id_org_ref,
--- a/kallithea/templates/pullrequests/pullrequest_show.html	Thu Feb 16 02:43:11 2017 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_show.html	Mon Feb 27 00:27:31 2017 +0100
@@ -23,7 +23,7 @@
   </div>
 
   ${h.form(url('pullrequest_post', repo_name=c.repo_name, pull_request_id=c.pull_request.pull_request_id), method='post', id='pull_request_form',class_='panel-body')}
-    <div class="form pr-box">
+    <div class="form pr-box pull-left">
       <div class="pr-details-title ${'closed' if c.pull_request.is_closed() else ''}">
         <h3>
           ${_('Title')}: ${c.pull_request.title}
@@ -353,7 +353,6 @@
       <h4>${_('Changeset was too big and was cut off...')} <a href="${h.url.current(fulldiff=1, **request.GET.mixed())}">${_('Show full diff anyway')}</a></h4>
     % endif
     </div>
-    </div>
 
     ## template for inline comment form
     ${comment.comment_inline_form()}
@@ -404,6 +403,7 @@
           });
       });
     </script>
+    </div>
 
 </div>