From a9c041704e975777cb0c621ed1c09a2a50274542 Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Mon, 14 May 2018 18:03:43 +0900 Subject: Remove extra spaces from MR discussion notes --- .../diffs/components/inline_diff_comment_row.vue | 7 +++---- app/assets/javascripts/notes.js | 2 +- app/assets/javascripts/notes/components/diff_with_note.vue | 7 +++---- app/assets/stylesheets/pages/notes.scss | 14 -------------- 4 files changed, 7 insertions(+), 23 deletions(-) (limited to 'app/assets') diff --git a/app/assets/javascripts/diffs/components/inline_diff_comment_row.vue b/app/assets/javascripts/diffs/components/inline_diff_comment_row.vue index caf84dc9573..6348f32d36d 100644 --- a/app/assets/javascripts/diffs/components/inline_diff_comment_row.vue +++ b/app/assets/javascripts/diffs/components/inline_diff_comment_row.vue @@ -44,10 +44,9 @@ export default { class="notes_holder" > - + class="notes_content" + colspan="3" + >
'; + '
'; // In parallel view, look inside the correct left/right pane if (this.isParallelView()) { lineTypeSelector = `.${lineType}`; diff --git a/app/assets/javascripts/notes/components/diff_with_note.vue b/app/assets/javascripts/notes/components/diff_with_note.vue index 27ff7dea909..802be022ba6 100644 --- a/app/assets/javascripts/notes/components/diff_with_note.vue +++ b/app/assets/javascripts/notes/components/diff_with_note.vue @@ -148,10 +148,9 @@ export default { - + class="notes_content" + colspan="3" + > diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index dbe9f0c03fb..b1e33196049 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -334,20 +334,6 @@ ul.notes { border: 1px solid $white-normal; border-left: 0; - &.notes_line { - vertical-align: middle; - text-align: center; - padding: 10px 0; - background: $gray-light; - color: $text-color; - } - - &.notes_line2 { - text-align: center; - padding: 10px 0; - border-left: 1px solid $note-line2-border !important; - } - &.notes_content { background-color: $gray-light; border-width: 1px 0; -- cgit v1.2.3