From 09ab85a936efad43d7ab01cb5dbfd533640ce2ef Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Thu, 12 Apr 2018 15:10:40 +0000 Subject: [PATCH] Revert "Merge branch '44870-remove-extra-space-around-comment-form-on-merge-requests' into 'master'" This reverts merge request !18120 --- app/assets/javascripts/notes.js | 4 +-- .../notes/components/noteable_discussion.vue | 4 ++- app/assets/stylesheets/pages/diff.scss | 1 - app/assets/stylesheets/pages/note_form.scss | 13 +++++++-- app/assets/stylesheets/pages/notes.scss | 16 ++++++++-- app/views/shared/notes/_form.html.haml | 29 ++++++++++--------- ...-around-comment-form-on-merge-requests.yml | 5 ---- 7 files changed, 44 insertions(+), 28 deletions(-) delete mode 100644 changelogs/unreleased/44870-remove-extra-space-around-comment-form-on-merge-requests.yml diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index ac70ddb3ff4..b0573510ff9 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -1190,12 +1190,12 @@ export default class Notes { addForm = false; let lineTypeSelector = ''; rowCssToAdd = - '
'; + '
'; // In parallel view, look inside the correct left/right pane if (this.isParallelView()) { lineTypeSelector = `.${lineType}`; rowCssToAdd = - '
'; + '
'; } const notesContentSelector = `.notes_content${lineTypeSelector} .content`; let notesContent = targetRow.find(notesContentSelector); diff --git a/app/assets/javascripts/notes/components/noteable_discussion.vue b/app/assets/javascripts/notes/components/noteable_discussion.vue index 476b15aca4a..e0f883a8e08 100644 --- a/app/assets/javascripts/notes/components/noteable_discussion.vue +++ b/app/assets/javascripts/notes/components/noteable_discussion.vue @@ -258,7 +258,9 @@ Please check your network connection and try again.`; :key="note.id" /> -
+