summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/index.js2
-rw-r--r--web_src/less/_review.less8
2 files changed, 7 insertions, 3 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 91d16192de..4cb8cff443 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -1242,7 +1242,7 @@ function initPullRequestReview() {
if (!ntr.hasClass('add-comment')) {
ntr = $(`<tr class="add-comment">${
isSplit ? '<td class="lines-num"></td><td class="lines-type-marker"></td><td class="add-comment-left"></td><td class="lines-num"></td><td class="lines-type-marker"></td><td class="add-comment-right"></td>' :
- '<td class="lines-num"></td><td class="lines-num"></td><td class="lines-type-marker"></td><td class="add-comment-left add-comment-right"></td>'
+ '<td class="lines-num"></td><td class="lines-num"></td><td class="add-comment-left add-comment-right" colspan="2"></td>'
}</tr>`);
tr.after(ntr);
}
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 5d137e0c60..568952034a 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -74,9 +74,13 @@
margin-top: 0;
}
+ .comment-list {
+ padding-bottom: 10px;
+ }
+
.footer {
border-top: 1px solid #f1f1f1;
- margin-top: 10px;
+ padding: 10px 0 10px 0;
.markdown-info {
display: inline-block;
@@ -101,7 +105,7 @@
}
form.comment-form-reply {
- margin: 0 0 0 4em;
+ margin: 0 0 0 1em;
}
}