diff options
author | Phil Hughes <me@iamphill.com> | 2018-11-09 19:53:50 +0000 |
---|---|---|
committer | Steve Azzopardi <sazzopardi@gitlab.com> | 2018-11-12 11:15:14 +0000 |
commit | 8e6a32d05b65b0d0d1e3e8b95c25d96f31baa6b9 (patch) | |
tree | df17799f94e01c6cec571ce4706ff852218912d3 | |
parent | bd7aaa9209182298269c35a547bc794a4bb5fa27 (diff) | |
download | gitlab-ce-8e6a32d05b65b0d0d1e3e8b95c25d96f31baa6b9.tar.gz |
Merge branch '53768-diff-comment-action-btns' into 'master'11-5-stable-prepare-rc5
Fix alignment of diff comment buttons
Closes #53768
See merge request gitlab-org/gitlab-ce!22944
(cherry picked from commit d5027d774b2c26a2ee29b249b9919197ce499bff)
a597103a Fix alignment of diff comment buttons
-rw-r--r-- | app/assets/javascripts/notes/components/noteable_discussion.vue | 6 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/notes/components/noteable_discussion.vue b/app/assets/javascripts/notes/components/noteable_discussion.vue index a153edd0476..c1dfa036678 100644 --- a/app/assets/javascripts/notes/components/noteable_discussion.vue +++ b/app/assets/javascripts/notes/components/noteable_discussion.vue @@ -433,7 +433,7 @@ Please check your network connection and try again.`; <div class="discussion-with-resolve-btn"> <button type="button" - class="js-vue-discussion-reply btn btn-text-field mr-2 qa-discussion-reply" + class="js-vue-discussion-reply btn btn-text-field mr-sm-2 qa-discussion-reply" title="Add a reply" @click="showReplyForm" > @@ -442,7 +442,7 @@ Please check your network connection and try again.`; <div v-if="discussion.resolvable"> <button type="button" - class="btn btn-default mx-sm-2" + class="btn btn-default mr-sm-2" @click="resolveHandler()" > <i @@ -455,7 +455,7 @@ Please check your network connection and try again.`; </div> <div v-if="discussion.resolvable" - class="btn-group discussion-actions" + class="btn-group discussion-actions ml-sm-2" role="group" > <div diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index dcb1275d182..c57c1eee350 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -595,7 +595,6 @@ $note-form-margin-left: 70px; .discussion-actions { float: right; - margin-left: 10px; color: $gray-darkest; @include media-breakpoint-down(xs) { |